Forums

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

Can i get all builds data of a plan through rest api reference in bamboo??

surajso June 21, 2017

i couldnt able to find any solution for getting all build data in bamboo .it only gives data of latest 25 builds not for all builds.

is there any way to acheive this???

1 answer

0 votes
Jeyanthan I
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 26, 2017

I see that there is an existing Bug raised here - https://jira.atlassian.com/browse/BAM-17961.


As mentioned there, the possible workaround would be to use an arbitrarily large number (say 1,000,000) that is greater than the actual result set seems to return the actual '$results.size':

  • Get the size of the result set via 'max-results=1000000'
    https://localhost:8085/rest/api/latest/result/PROJECTKEY-PLANKEY.json?max-results=1000000

This returns the actual $results.size=x, allowing a proper request for the entire result set in turn.


Hope that helps!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events