You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, I am trying to get a list of all the sprints in a given scrum board. Currently, there are more than 50 sprints. When I try getting a response from an API call, I am only getting 50 results back. How do I page thru the next set?
Example:
https://jira.cec.lab.emc.com/rest/agile/1.0/board/5756/sprint
The above call only yields 50. I know there are more than 50 sprints.
So the developer documentation for the call is here - https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-rest-agile-1-0-board-boardid-sprint-get
And in that document there is mention of the ‘startAt’ parameter that can be added to the end point. Usually the next start at can be found in the JSON response to get the proper pagination.
The new url would look like this:
https://jira.cec.lab.emc.com/rest/agile/1.0/board/5756/sprint?startAt=$theNextBatch
im going off memory here, so I can’t remember if the next batch is just numbered or if it is the next sprintId, but that should at least point you in the right direction.
Reply back once you figure out which it is
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.