Jira REST Base URL

Hi Jira Team,

I am trying to use Post-build Actions- Jira Issue Results Updater, where one of the mandatory field is JIRA REST Base URL. I read the instructions and I am using the following URL: https://itssoftvercentar.atlassian.net/rest/api/latest/issue/JP-10, but the following error is shown.

Could you please give me some advice. 

Thank you,

Best Regards

 
Unable to connect to REST service
java.io.FileNotFoundException: https://itssoftvercentar.atlassian.net/rest/api/latest/issue/JP-10.json/search?jqlFinished: FAILURE

 

3 answers

Could you tell us what you are posting there?  It looks like you are sending it a search, which isn't going to work with that url, because that's  a url for fetching issue data, not the base url

Hi,

Thank you for your answer. I will try to explain in more details.

I want automatic transition on Jira Issue J-10, depending on the current build status in Jenkins. For example If the build in Jenkins is successful then I want Jira issue to transit in status DEV AUTOTESTING.  And when I make a build in Jenkins the above error is shown. 

Bellow is given a print screen from Jenkins. Is this the right way?

Thank you,

Best Regards,

Maja

Capture-Jira.PNG

No.  Because of my previous answer.

ok. Than where could I find the JIRA REST BASE URL? Could you give me an example?

The base url is the one you visit Jira on.  Jenkins should be able to work out the rest from that, but it might be a bit weak and actually need the expanded stuff, which you can get to by removing the /issues/<issue> on the end

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 Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

165 views 0 4
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