Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Query

I have the jql query below and for some reason it does not show all issues with this query. I am still missing some issue types even though they are there in the project. Is the query too complex?

project = test AND issuetype not in (problem, bug, task) AND labels not in (label1, label2) and status != Done ORDER BY Rank ASC

1 answer

Hi @Joe 

  It cannot show you all the issues because the "Not in" condition excludes the issues contained in the parentheses


@Vronik Thank you for your input, any suggestions for an alternative for "not in"?

Like Vronik likes this

@Vronik I tried the query below without not in and still get the same result

project= "test" AND (type!=problem AND status != done )AND (type!=bug AND status != done ) AND (type!=task AND status != done ) AND (labels != label1) and (labels != label2) ORDER BY rank ASC

Hi @Joe 

 if you want all the issues do not discriminate for them, for example:

 project = "test" AND status != done AND labels NOT IN (label1, label2) ORDER BY rank


  Try and tell me..

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