Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how do i create bamboo build plan environment with REST API?

Ronny
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 27, 2015
 

1 answer

0 votes
Steffen Opel _Utoolity_
Community Champion
August 27, 2015

Good question - unfortunately the Bamboo REST API documentation leaves a bit to be desired still:

  • While mentioned and linked on the Bamboo REST Resources page, it is easily overlooked that the inline information on that page itself is incomplete and only the API reference for your Bamboo version is the recommended source of information on Bamboo REST APIs.
  • Furthermore, while structurally similar, that API reference is also not entirely at the same level as the ones from JIRAConfluence and Stash in particular, and frequently lacks the request/response shapes for example.

Given this, I'm afraid it is not possible to create a deployment environment via REST yet, insofar /deploy/environment is lacking a POST method (any method in fact) to create a new environment.

This matches with two related REST API features, which aren't yet available either:

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events