Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I add a second ORDER BY to my query statement?

Karen Jones October 1, 2024

I am trying to get my list ordered by priority, the by update date. Is there a syntax that works to do this?

 

2 answers

1 accepted

4 votes
Answer accepted
Cristian0791
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.
October 1, 2024

Hi Kare,

 

You can use JQL: ORDER BY priority DESC, updated DESC

 

Hope this helps.

Karen Jones October 1, 2024

Yes, I tried this too and it worked! Thanks!

1 vote
Lori Milam
Contributor
October 1, 2024

Hi @Karen Jones welcome! You can just separate the two fields with a comma i.e.

ORDER BY priority, updated.

Karen Jones October 1, 2024

Thanks, this really helps

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events