Search for issues that do not contain text

I need a simple solution for a JQL


issuetype = Bug AND text != Apple


the != operator is not supported with text search. 

3 answers

1 accepted

3 votes
Ignacio Pulgar Community Champion Mar 17, 2016

issuetype = Bug AND summary !~ "*On Production*"

Try with 'text' instead of summary, as I can't test now if it works as well.

Thanks, but no. Text does not accept != as an operator. 

Dave, !~ is different from !=

Thanks! !~ works perfectly.

I cannot get the !~ to work with the text field. It works in summary, but does not appear as an option for text searches. If you force it, it doesn't work.

Why is this the accepted answer? 'text' and 'summary' are different fields in JIRA. The OP is asking about the 'text' field which does not support the !~ operator.

Agree.  This answer is completely wrong and should be un-accepted.  You cannot use "!~" on text.

How can I negate a match on text?

This answer does not work for 'text'... should not be marked correct

?? Opposite of my need. Using ~ would result in what issues I do not want to see. 

If I have 100 cake recipes, of many various kinds, but hate Apples and don't want to see any of the recipes that include the use of Apple. 


~ Apple = show me recipes (issues) with Apple in them

!~ Apple = do not show me recipes (issues) with Apple in them


I want a JQL for the latter of these examples. 

Do you want to match the exact text ? If not then you can use the contains (~) and in your case can be does not contain (!~) 

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

57 views 0 3
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot