How to hit the JIRA API in reverse order of the JSON Array?

Below is the url for the Sprint closed data,
https://xyz/rest/agile/1.0/board/77/sprint?state=closed

From the above URL, I need to get latest 5 sprints data in first call itself…

Are there any filter options(ex: order by clause) to add to JIRA API?

Please help!

Thanks,

Ram

1 Like

Hi @it1

I have got the same requiremet. What way do you use to meet with this requirement at last?

Thanks,
YY

There is a ticket to follow up this requirement: [JRACLOUD-80882] Unable of obtain latest sptints using endpoint /rest/agile/1.0/board/{boardId}/sprint - Create and track feature requests for Atlassian products.

If you also need it, please vote and comment on it。