integration with Jira

General discussion of Mantis.

Moderators: Contributor, Developer

integration with Jira

Postby 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
louislu
 
Posts: 1
Joined: Nov 17, 2015 8:16 pm

Re: integration with Jira

Postby 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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6775
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Postby 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
srikanth
 
Posts: 5
Joined: Jan 08, 2018 6:41 pm

Re: integration with Jira

Postby atrol » Jan 09, 2018 1:54 am

The answer is still the same viewtopic.php?f=2&t=23474#p58376
with one addition: Latest Mantis version do also offer a REST API.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6775
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Postby 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.
srikanth
 
Posts: 5
Joined: Jan 08, 2018 6:41 pm

Re: integration with Jira

Postby 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
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
Site Admin
 
Posts: 6775
Joined: Mar 26, 2008 4:37 pm
Location: Germany

Re: integration with Jira

Postby 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

Postby 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
srikanth
 
Posts: 5
Joined: Jan 08, 2018 6:41 pm

Re: integration with Jira

Postby 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.
Starbuck
 
Posts: 38
Joined: Feb 13, 2006 9:53 pm


Return to General Discussion

Who is online

Users browsing this forum: Bing [Bot] and 13 guests