Forums

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

How do I do a status NOT statement?

David Englund
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2021

My basic query below includes an order by status, but I also want to exclude all items where status is "Done." Can someone please help? Thanks!

assignee in (ID number) ORDER BY status ASC

 

1 answer

0 votes
Nic Brough -Adaptavist-
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 Champions.
September 24, 2021

Welcome to the Community!

Add "and status != done" into the query.  Or "and status not in (done, closed, ended)" type stuff to exclude several status.

Trudy Claspill
Community Champion
September 24, 2021

or "and statusCategory!=Done" to exclude any issue that has a Status that has been defined as a member of the "Done" Status Category. Then you don't have to list all the done Statuses if you use more than one.

Like Nic Brough -Adaptavist- likes this

Suggest an answer

Log in or Sign up to answer