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

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?

shivaji I'm New Here May 09, 2018

jira version 6.1.7

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

346 views 3 11
Read article

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