Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I create versions and deploy via Bamboo REST API?

I am following the guides posted on the Bamboo documentation, but hitting these endpoints do not work in Postman. Here is the guide I am using:

I get a response code of 415 - Unsupported Media Type, even though I am setting the content-type as application/json in the headers. 

The API documentation below specifies an additional parameter for creating a version or release, but this does not change the outcome:

1 answer

0 votes

Here're steps worked for me:

Create release

curl -X POST 'http://localhost:9087/bamboo/rest/api/latest/deploy/project/7405569/version' -u admin:admin -H "Accepts: application/json" -H "Content-Type: application/json" -d '{"planResultKey" : "ACC-TST-9", "name" : "release-3"}' | jq '.'

The name field accepts plan variables in the following format:



{"planResultKey" : "ACC-TST-9", "name" : "release-${}"}'


Deploy release

curl -X POST 'http://localhost:9087/bamboo/rest/api/latest/queue/deployment/?environmentId=7536641&versionId=28803073' -u admin:admin -H "Accepts: application/json" | jq '.'

@Alexey Chystoprudov,

I am running into issues when I am trying Deploy a release using Bamboo REST API.


curl -X POST 'https://myhost/rest/api/latest/queue/deployment/?environmentId=12345&versionId=ABC_XYZ-1.0.0-123' -u user:password



<title>Page not found</title>
<h1>Page not found</h1>
Sorry, the page you were trying to reach does not exist. Try going back to the dashboard and browse the site to find the page you were looking for. </p>
<h4>Go to...</h4>
<li><a href="/">Site homepage</a></li>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

250 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you