integration with Jira

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
louislu
Posts: 1
Joined: 18 Nov 2015, 01:16

integration with Jira

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: integration with Jira

Post 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 ...
Please use Search before posting and read the Manual
srikanth
Posts: 5
Joined: 08 Jan 2018, 23:41

Re: integration with Jira

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: integration with Jira

Post 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.
Please use Search before posting and read the Manual
srikanth
Posts: 5
Joined: 08 Jan 2018, 23:41

Re: integration with Jira

Post 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.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: integration with Jira

Post 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
Please use Search before posting and read the Manual
srikanth
Posts: 5
Joined: 08 Jan 2018, 23:41

Re: integration with Jira

Post 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
srikanth
Posts: 5
Joined: 08 Jan 2018, 23:41

Re: integration with Jira

Post 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
Starbuck
Posts: 219
Joined: 14 Feb 2006, 02:53
Location: USA
Contact:

Re: integration with Jira

Post by Starbuck »

I suggest you start a new thread with that specific curl/csv issue and leave this one for Jira-specific details.
bitcohen
Posts: 2
Joined: 09 Feb 2018, 14:44

Re: integration with Jira

Post 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.
Starbuck
Posts: 219
Joined: 14 Feb 2006, 02:53
Location: USA
Contact:

Re: integration with Jira

Post 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.
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!
chegevarga
Posts: 1
Joined: 07 Feb 2023, 09:47

Re: integration with Jira

Post 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
Post Reply