how to update jira issues status from jenkins

I installed Jenkins and Jira issue updater in Jenkins and enabled Remote API in Jira . what are the plugins i need to enable in jira and how please help me. Thanks in advance

I'am getting the following error :
Unable to connect to REST service
java.io.FileNotFoundException: https://companyname.atlassian.net/rest/api/2/issue/search?jqlFinished:

3 answers

1 accepted

0 votes
Accepted answer

There could be several reasons.

Try to open that url (from the error) in your browser and see if you have file or message that you don't have rights or smth.

Then you can check if your Jenkins server has access to web and particularly Jira's api url. Error says: Unable to connect to REST service

 

Hi,

Thanks for your reply..

I tried to open the url. it is showing json output.  from jenkins when build is successful i able to comment the issues in JIRA. but i can't able to change the status of the issues in jira. could u please guide me.. 

Apart form activating remote API in JIRA do i need to install any other plugins/add-on. 

 

You should provide also name of the workflow transition to be executed. Could you check if you entered transition name and not an issue status (if they have different names)

 

Could you attach you POST build configuration screenshot? 

Hi Maksym Karazieiev,

Please find the image attached.

buildjob.png

can you suggest me ..

I am getting the same error and I validated that the URL is working fine from the browser (getting Json output). Has this issue been resolved for anyone.

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



In version 1.18 do NOT use " or '

example:

project=BLABLABLA and status=BEBEBEBE

How should we specify status if it is To Do without using " or '. 

-------------------------------------------------------
JIRA Update Results Recorder
-------------------------------------------------------
Unable to connect to REST service
java.io.IOException: Server returned HTTP response code: 400 for URL: https://companyname.atlassian.net/rest/api/2/search?jqlFinished:

When I try to open this url in a browser getting json file and there is no updated comments in JIRA issues

Appreciate your inputs

 

Thanks

What is your JIRA version? Is the REST API enabled in the JIRA side?

jira version 6.1.7

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

21 views 2 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you