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

How to receive limited number of changes given in specific bamboo build?

Michal Kowalczyk
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 20, 2019

/api/latest/result/{{buildNumber}}?expand=changes - will give me entire number of changes in REST response. How can i limit this size of response from entire changes to 20?

1 answer

1 accepted

2 votes
Answer accepted
Victor Debone
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 20, 2019

Hello @Michal Kowalczyk welcome to the community :)

You are looking for the `max-results` parameter as per the Bamboo 6.10.2 REST documentation.

So in your case it would be something like

/api/latest/result/{{buildNumber}}?expand=changes&max-results=20

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events