When you go into a release, you can see that build X is the build that the release is based off of. If you go into the variables tab, you can even get the exact key (SOMEPROJ-SOMPLAN-X).
How can you get this information from the API?
hey Jared, if you call the following REST endpoint in Bamboo, you'll get a list of all releases for a specific Deployment project, including the key from the build that's been associated to that release (among some other useful information):
If you don't know what is your Deployment project ID, you can visit this page http://localhost:8085/deploy/viewAllDeploymentProjects.action and click the project name. This will redirect you to the Deployment project summary page. If you take a look at the URL you'll see that it contains the ID for that Deployment project, for example:
Ref.: https://docs.atlassian.com/bamboo/REST/5.13.0/#d2e2208
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.