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

Bamboo REST api: find build by label

Andrey Ivanov December 22, 2014

i can't use /rest/api/latest/result?label=... becouse it search only builds with top level plans.

of course i can parse result of http://servername/browse/label/labelname by i try find better solution

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 6, 2017

Hi guys,

I made an improvement request to be able to find all labels set on all-level branches, not just top level branches. Please vote for it, as it would make the api more efficient:

https://jira.atlassian.com/browse/BAM-18428

Kind regards

Jonas

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 22, 2014

Hello Andrey,

Thank you for your question.

In case you want to get more information, you could run the following:

http://<bamboo-base-url>/rest/api/latest/result?label=<your-label>&expand=results[<x>].result

Please, refer to Build Service — Specific Plan documentation for further information.

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

TAGS
AUG Leaders

Atlassian Community Events