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

Bamboo REST API: Get all plan builds with specific label

Alek Boninski November 6, 2017

Hello everyone,

 

I'm new to the Bamboo REST API and I've been trying to do the following.

I want to get all successful builds of a plan, which have a specific tag.

I tried the following GET request:

https://myhost/rest/api/latest/result/PROJECT-PLAN.json?buildstate=Successful&expand=results.result.labels&results.result.labels.label.name=release

This request however only shows all successful builds, but it doesn't filter the labels.

Is there a way to filter this using only the REST API?

 

Thanks in advance!

1 answer

1 accepted

0 votes
Answer accepted
Alek Boninski November 6, 2017

UPDATE:

I was able to do this using the following argument:

&label=release

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events