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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,551,850
Community Members
 
Community Events
184
Community Groups

Is it possible to get paginated results for the /rest/api/latest/queue endpoint?

I'm interested in getting paginated results from the `/rest/api/latest/queue` endpoint so I can limit the results.

Pagination is not documented in https://docs.atlassian.com/atlassian-bamboo/REST/8.2.4/#d2e3179.

An API call to the endpoint returns the desired `max-result` parameter nested within`queuedBuilds`.

{
"expand": "queuedBuilds",
"link": {
"href": "https://bamboo.com/rest/api/latest/queue",
"rel": "self"
},
"queuedBuilds": {
"size": 25,
"start-index": 0,
"max-result": 25
}

Setting `max-result` as a query parameter takes no effect. e.g:

https://bamboo.com/rest/api/latest/queue?expand=queuedBuilds.queuedBuilds&max-result=1

 

Is this not supported or documented elsewhere? 

1 answer

1 accepted

0 votes
Answer accepted
Eduardo Alvarenga
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 23, 2023

Hello @HN,

Thanks for reporting that!

I have created a bug issue. Make sure to watch it so you will get updated once it gets moved forward in development.

Best regards,

Eduardo Alvarenga
Atlassian Support APAC

--please don't forget to Accept the answer if the reply is helpful-- 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events