Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,774
Community Members
 
Community Events
168
Community Groups

Is there a way to update status from Jenkins build(pass/fail) to JIRA 7.0

Is there a way to update status from Jenkins build(pass/fail) to JIRA 7.0

If so, please let me know the steps to do the same.

Thanks in advance.

2 answers

2 votes

Yes. there are several approaches for this. One can be found at: https://wiki.jenkins-ci.org/display/JENKINS/Jira+Issue+Updater+Plugin

Do a google search on JIRA jenkins API to find others.

We extensively use this plugin and it works like a charm. Easy to configure and use. Never let us down.

Hi Gabrielle, Do you folks create new issue or update the present one.? Because the JIRA Test Reporter plugin does not work for me. Any suggestion for how to create Issue on failed TC's

I am getting the below error and I validated that the URL is working fine from the browser (getting Json output). Can anyone please confirm if you have faced this issue with the plugin,

-------------------------------------------------------
JIRA Update Results Recorder
-------------------------------------------------------
Unable to connect to REST service
java.io.FileNotFoundException: http://Jira_IP/rest/api/latest/issue/Issue_Name/search?jql


below 

Anyone experiencing the same issue with @ADS_DevOps_Admin

I was able to fix this by correcting my JQL. It seems like the JQL for Jira Issue Results Updater doesn't accept double quotes ("). Changing it to a single quote (') will fix the issue.

Used REST URL: http://localhost:[port]/rest/api/latest

Hi @Ravindu : I have integrated Jira Jenkins and issues are able to get updated. But I dont want all issues to change their status. I just want specific issue to change. How do i achieve this? Please advise

Like venkatamuni_k likes this

Hi @ Syeda: Do you got any resolution?

even I'm looking for the same. If you got any resolution please, let us know.

Thank you.

i have installed jira plugin and configured... what are the next steps? Please advice

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

164 views 1 6
Read article

Atlassian Community Events