Would like to know when a current build is in under way programatically. I understand the result/results status shows success or failure once complete, but I would like a way to know if "under construction" per se.
Hi Ray,
Maybe you can give this REST call a try:
https://docs.atlassian.com/bamboo/REST/5.9.4/#d2e314
GET /rest/api/latest/result/<projectKey>-<planKey>/<buildNumber>, then get top-level JSON field "lifeCycleState" (values "Finished", "InProgress").
If this answer was helpful, please allow me to ask you to mark my answer as accepted in order to have it in the top of the thread, also helping other customers.
Thanks in advance!
Kind regards,
Felipe Kraemer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.