Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Running a filter on multiple statuses Edited

I'm trying to run a search filter to list:

  • All tickets on a specific project
  • That do not have one of two statuses
  • Contain a specific label.

Here's the filter being used:

project = "<PROJECTNAME>" AND labels = <LABEL> AND status != ("STATUS1", "STATUS2") order by created DESC

This returns an error despite all the indications that adding the statuses inside brackets should work.

If I run a search on each status individually, it works as expected. Can you help me with the syntax required to get the results in a single list. Many thanks.

1 answer

1 accepted

0 votes
Answer accepted

Hi @Colum McAndrew ,

  • project = "<PROJECTNAME>" AND labels = <LABEL> AND status in ("STATUS1", "STATUS2") 
  • project = "<PROJECTNAME>" AND labels = <LABEL> AND (status = "STATUS1" or status = "STATUS2")

Any of these should probably work.

Cheers, Kevin.

Thanks @Kevin Johnson The later example worked. 

BTW I meant to say that I wanted to exclude two statuses, not include. My bad, and I amended the original post. For the benefit of anyone following this, it was just a simple case of using status != rather than status =.

Like Kevin Johnson likes this

= instead of != should work and you can also use "not in".

Cheers, Kevin.

Like Colum McAndrew likes this

Suggest an answer

Log in or Sign up to answer

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