How to get "build number" linked with issue?

How can I get value of Bamboo's "latest build" that is associated with a particular JIRA issue? 

If I make API call I get lots of info for the "custom field 10800" apart from the most interesting one. 

Are there any means of achieving this via script?

1 answer

Hi Anton,

This has been addressed a couple times in the past.  Take a look at the Communities post Solved: Are there any plans to provide an API for the development panel:

 

We currently don't have plans to provide an API for the development panel in JIRA. 

Unlike the build status in Bitbucket, the JIRA integration is not a "simple" REST API that allows for storing and retrieving information. It integrates much tighter with the rest of the Atlassian stack to ensure accuracy of the data and the right access controls. 

However, that doesn't mean build information can't be pulled into JIRA via other plugin points that allow adding additional panels to the sidebar, for JIRA Cloud and Server. 

In addition, please vote on the recently opened Suggestion JSWSERVER-15768 - REST API access to information in Development Panel and add your use case to the comments on the case.  Once you do that you'll automatically be notified of any changes to the ticket including fix versions or updates to the ticket.

Cheers,

Branden

That is the point, I was hoping for a more up to date information. 

JSWSERVER-15768 is for Server version, where JAVA api can be used to get build number. I'm looking for a way to get this information on JIRA Cloud.

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 May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,802 views 0 6
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