integration with Jira

General discussion of Mantis.

Moderators: Contributor, Developer

Post Reply
louislu
Posts: 1
Joined: Nov 17, 2015 8:16 pm

integration with Jira

Post by louislu » Nov 17, 2015 8:21 pm

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: 6984
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Post by atrol » Nov 18, 2015 2:04 am

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: Jan 08, 2018 6:41 pm

Re: integration with Jira

Post by srikanth » Jan 08, 2018 7:03 pm

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: 6984
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Post by atrol » Jan 09, 2018 1:54 am

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: Jan 08, 2018 6:41 pm

Re: integration with Jira

Post by srikanth » Jan 09, 2018 12:47 pm

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: 6984
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Post by atrol » Jan 09, 2018 6:07 pm

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: Jan 08, 2018 6:41 pm

Re: integration with Jira

Post by srikanth » Jan 11, 2018 12:09 am

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: Jan 08, 2018 6:41 pm

Re: integration with Jira

Post by srikanth » Jan 11, 2018 1:18 am

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: 123
Joined: Feb 13, 2006 9:53 pm
Location: USA
Contact:

Re: integration with Jira

Post by Starbuck » Jan 12, 2018 11:57 am

I suggest you start a new thread with that specific curl/csv issue and leave this one for Jira-specific details.

bitcohen
Posts: 1
Joined: Feb 09, 2018 9:44 am

Re: integration with Jira

Post by bitcohen » Feb 27, 2018 7:54 am

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: 123
Joined: Feb 13, 2006 9:53 pm
Location: USA
Contact:

Re: integration with Jira

Post by Starbuck » Mar 01, 2018 6:28 pm

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!

Post Reply