Page 1 of 1

integration with Jira

Posted: 18 Nov 2015, 01:21
by louislu
Hi,

I am currently working on a project for my company and search for a suitable help desk software.

Mantis is one of the products on the list. However, I have some technical issues and wonder if you guys can give me a hand.

One of the key features of the product we need is that it must have 2-way integration between Jira and Mantis.

What I mean 2-way integration:
I can create a ticket (eg a bug/support contact etc) from Mantis in Jira.

If I update (eg, adding a comment or changing the status etc) that ticket in Jira, Mantis will get automatically updated with the changes.
If I update in Mantis, Jira will get automatically updated.

Is this possible to be done in Mantis? Do you have an already built Plug-in for this functionality?

Please feel free to contact me if you need any further information.


Kind regards,

Louis Lu
Graduate Support Analyst
Wynyard Group
Christchurch
New Zealand
llu@wynyardgroup.com

Re: integration with Jira

Posted: 18 Nov 2015, 07:04
by atrol
louislu wrote: If I update (eg, adding a comment or changing the status etc) that ticket in Jira, Mantis will get automatically updated with the changes.
If I update in Mantis, Jira will get automatically updated.
Is this possible to be done in Mantis? Do you have an already built Plug-in for this functionality?
I am quite sure that it is possible as Mantis offers a plugin system that can be used to update Jira (assuming that Jira offers an API/ Web Service, if not direct access to their database is needed)
Mantis can be updated from Jira by using the Mantis SOAP API (or in a dirty way by direct database access)

I am not aware that there is an existing plugin for that, but who knows ...

Re: integration with Jira

Posted: 09 Jan 2018, 00:03
by srikanth
Hi,
We recently installed mantis and started using for few bug reports.

One of the key features of the product we need is that it must have 2-way integration between Jira and Mantis.

What I mean 2-way integration:
I can create a ticket (eg a bug/support contact etc) from Mantis in Jira.

If I update (eg, adding a comment or changing the status etc) that ticket in Jira, Mantis will get automatically updated with the changes.
If I update in Mantis, Jira will get automatically updated.

Is this possible to be done in Mantis? Do you have an already built Plug-in for this functionality?

Please feel free to contact me if you need any further information.
And i couldn't find any relevant plugin. If you can provide the URL for the plugin that would be great.


Kind regards,

Srikanth

Re: integration with Jira

Posted: 09 Jan 2018, 06:54
by atrol
The answer is still the same https://www.mantisbt.org/forums/viewtop ... 474#p58376
with one addition: Latest Mantis version do also offer a REST API.

Re: integration with Jira

Posted: 09 Jan 2018, 17:47
by srikanth
Can I have the link to the plugin, I couldn't find the write now .!!
And I see under the API directory in the mantis I found SOAP but can you guide me how to configure it and use to achieve my goal.

Thank you in advance.

Regards,
Srikanth.

Re: integration with Jira

Posted: 09 Jan 2018, 23:07
by atrol
srikanth wrote:Can I have the link to the plugin, I couldn't find the write now .!!
Which plugin?
Maybe you didn't notice that I wrote
atrol wrote:I am NOT aware that there is an existing plugin for that, but who knows ...
srikanth wrote: I found SOAP but can you guide me how to configure it
There is no configuration needed to run it out of the box.
Some options you might want to change https://www.mantisbt.org/docs/master/en ... config.api

Goto https://<YourMantisURL>/api/soap/mantisconnect.php?wsdl to get the API documentation

Re: integration with Jira

Posted: 11 Jan 2018, 05:09
by srikanth
Can someone please provide the exact URL for REST and I am trying a couple of combinations for GET issues from mantis but it is throwing 404 error

I RED ALL THE DOCS AND FROM " https://github.com/mantisbt/mantisbt/pull/1037 " But it haven't helped much

curl -X GET --header 'Accept: text/html' 'http://xxxxxxxxxxx/api/rest/issues?id=1732687426968531'

Request URL
http://xxxxxxxxxxx/api/rest/issues?id=1732687426968531

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /api/rest/issues was not found on this server.</p>
<hr>
<address>Apache/2.4.18 (Ubuntu) Server at xxxxxxxx Port 80</address>
</body></html>
Response Code
404

Re: integration with Jira

Posted: 11 Jan 2018, 06:18
by srikanth
Even unable to download the csv file from the server I am using the command

curl -X GET -H -u Administrator http://xxxxxxx/mantis/csv_export.php -O -v

Not getting any error but even not able to get the csv file also, I saw that it is redirecting to login_page.php?return=%2Fmantis%2Fcsv_export.php

Please help needed

Thank You
Sri

Re: integration with Jira

Posted: 12 Jan 2018, 16:57
by Starbuck
I suggest you start a new thread with that specific curl/csv issue and leave this one for Jira-specific details.

Re: integration with Jira

Posted: 27 Feb 2018, 12:54
by bitcohen
Hi all !
Sorry I have no immediate answer, but we are developing an internal tool for exactly this purpose:

migrate existing issues from Mantis -> JIRA
ability to enter new issues in Mantis and have them synced to JIRA
activity in JIRA issues replicated back to Mantis
workflow disabled in Mantis (issues are slaved to JIRA state)
keep Mantis alive for N months while users are trained and migrated
It is using their SOAP and REST APis respectively.

If there is interest and it works well (looking really good at this stage) I will seek permission to open source it.

Re: integration with Jira

Posted: 01 Mar 2018, 23:28
by Starbuck
Even if you don't FOSS the whole thing, perhaps you could start a new thread in the plugins area where we can discuss how various components of your effort have been implemented.

Re: integration with Jira

Posted: 07 Feb 2023, 09:52
by chegevarga
Hi Guys,

I would like to ask, finally did somebody (team, company) create a connection tool between JIRA and Mantis? And is the sourcode of this module/middleware available somewhere? Thank you for the information in advance!
Our JIRA version is: 2.25