Rest API Order By

Benny March 16, 2021

I can pull all the tickets in the To Do list no problem. Is there a way to order the tickets as they are in the backlog. Is there a different field than the created field

$url = RESTURL.'search/?jql=project%20in%20%28ICCW%2C%20ANCR%29%20AND%20status%20%3D%20Specify%20order%20by%20created%20DESC';

1 answer

1 accepted

0 votes
Answer accepted
Muhammad Ramzan(Atlassian Certified Master)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 16, 2021

Welcome to the Atlassian community.

You can try the "order by rank" and please let me know if you got the same results as your agile board or not.

Brian Shapiro September 6, 2022

I tried "order by rank" and got the same results for one of my agile boards, but for the other I did not. Do you know why this might be? The correct issues are all there in my results for the board that's having problems, just not in the correct order.

Brian Shapiro September 6, 2022

Nevermind, the board was sorted by Status rather than Rank

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events