Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JQL order null values

Hi All,


is there a way to order null/empty values after the ones with value using JQL

Possibly something like:



     When clientPriorityRank > 0 then clientPriorityRank

     When clientPriorityRank is null then 0






2 answers

1 accepted

1 vote
Answer accepted


It is not possible in JQL. All you can do is to order by a field using ASC, DESC

Why is it not possible? ThHis would be a very useful and commonly needed functionality. We use a custom field that designates a certain priority order as a number but it is often empty and I want to sort by highest number first and then the empty values at the end and can't do it in Jira.

Like # people like this

It's frastrating to have this unfriendly sorting problem.

Please vote and watch the following issues if you have the same problem.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

49 views 0 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you