Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
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

Am I able to create a project via REST calls in Bamboo 6.2.2?


I have tried PUT /rest/api/latest/deploy/project

but am getting back: "The plan you selected could not be found."

with a 400 response.


Nothing else appears suitable for project creation.

Am I missing something?

1 answer

0 votes



Could you clarify your question? 

What method have you used? (You should use PUT)

More info here

It will be nice if show your response from server 

curl -s -u user:passwd -X PUT -H "Content-type: application/json" ""


Then it will be possible to understand why you have seen error 400.



Gonchik Tsymzhitov

curl -s -u admin:admin -X PUT -d '{"name":"Test deployment 1","planKey":{"key":"PROJ-PLAN-1"},"description":"Project description 1"}' -H "Content-type: application/json" "http://localhost:8085/rest/api/latest/deploy/project"
{"errors":[],"fieldErrors":{"masterPlanKey":["The plan you selected could not be found."]}}


I've also tried omitting the planKey.

{"errors":[],"fieldErrors":{"masterPlanKey":["Please specify a Bamboo plan to pull deployment artifacts from."]}}

Is it not possible to create an empty project, and add plans afterwards?

You can use Bamboo Specs to create projects (or anything, really) remotely. 

Okay, so I can't create projects using the REST API, I need to use Bamboo Specs?

It looks like I can't queue build plans from Bamboo specs. Am I right in thinking I'll need to use the Bamboo specs to define projects, plans and jobs, and then use the REST API to trigger the plans?

Also, I'm curious to know if there are any future plans to add a project creation endpoint to the REST API. It would be very useful if we weren't tied to Java and could do all our automation through REST calls.

Suggest an answer

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

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

52 views 0 3
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