How to get release id in bamboo


I have a deployment project with DEV/QA env and created releases in the project. Before deploying any build, I want to check if the release is approved.

Has anyone done this. Can you throw some light on how to achieve this.

I got the REST URL to find the status of any release using


This query required id and I am unable to find the ID for my release string (eg: 1.0.0-dev ). what i understood is release id is a unqiue id created for the deployment project / env and it is stored in database.

Any help is appreciated.




2 answers

0 votes

Hello @Subramanian Olagappan,

Open created release details at Bamboo UI and look at URL: deploy/viewDeploymentVersion.action?versionId=1440874497

There you can get release id for REST call

Hi Alex,

Thanks.. had this in mind. I was looking for a clean way to get this done.



What do you mean clean way?

You can call such REST calls

curl 'http://localhost:9087/bamboo/rest/api/latest/deploy/project/all' -u admin:admin -H "Accepts: application/json"

to get list of deployment projects and see what project id has each deployment project


curl 'http://localhost:9087/bamboo/rest/api/latest/deploy/project/{deploymentProjectId}/versions' -u admin:admin -H "Accepts: application/json"

to get list of versions

hi Alex/Subramanian,

I have the same requirement. In my opinion, what subramanian wanted was for next release , we could have used bamboo environment variable for getting the release versionId. I am not sure whether {deploymentProjectId} gets the versionId value at runtime.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

45 views 0 2
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