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,364,739
Community Members
 
Community Events
168
Community Groups

Obtain sprints order by completeDate from the board using Rest API

Edited

Hi!

I'm working on a use case to retrieve sprints from the board using rest api - /rest/agile/1.0/board/{boardid}/sprint. However, I'm not seeing the documentation to order the result set based on completeDate. Is there any option available to achieve this ordering?

TIA! 

1 answer

1 accepted

0 votes
Answer accepted

Hello @hemanth415 

As per the documentation for that endpoint, the sprints are returned in the order stated:

"Returns the requested sprints, at the specified page of the results. Sprints will be ordered first by state (i.e. closed, active, future) then by their position in the backlog"

Given that the endpoint doesn't provide any options or parameters that you can set to have the results returned in other particular order, it will be up to you to sort the sprints by completeDate in your code / app that made the query to that endpoint.

Hi David - Thanks for the confirmation. I can sure handle it our custom code.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events