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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,492 views 21 17
View question

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