Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo Deployment Rest API - release string

Robert Kerr August 14, 2015

https://developer.atlassian.com/display/BAMBOODEV/Bamboo+REST+Resources

I'd like to request the name of the release currently deployed to an environment.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 16, 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 you referenced, 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 JIRA, Confluence and Stash in particular, and frequently lacks the request/response shapes for example.

That being said, /deploy/environment/{environmentId}/results might provide what you need - the results collection is comprised of the recent deployments and seems to be sorted in reverse chronological order, thereby identifying the currently deployed release I think (haven't explored this in detail yet).

Hope this helps to get you going ...

TAGS
AUG Leaders

Atlassian Community Events