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

Nagendra Kumar Kamalapuri May 23, 2016

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
Doug Swartz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2016

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.

GabrielleJ
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2016

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

Amit sharma May 30, 2016

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

ADS_DevOps_Admin January 17, 2018

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 

Keith John Omiping February 18, 2019

Anyone experiencing the same issue with @ADS_DevOps_Admin

Keith John Omiping February 19, 2019

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

1 vote
Ravindu Kumarasiri February 6, 2018
syeda July 16, 2019

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
venkatamuni_k October 7, 2019

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.

prabha vk September 12, 2020

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

Suggest an answer

Log in or Sign up to answer