How to fetch Active and Future sprint in Jira API without Pagination?

I have implemented Sprint List Dropdown in our web UI, but as the there is limit of maxResults=50 only. I am not able to see Active and Future sprint as those are after 50 records.
Below Jira API is used for showing record.
https://jira.ntrs.com:8443/rest/agile/1.0/board/{boardId}/sprint

So is there any Code logic to fetch all Active and Future records in Java?

1 Like

use PARAMETERS maxResults
https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-rest-agile-1-0-board-boardid-sprint-get
which is not suitable if the data is so large. Just have a try.