JQL operator
!~ (DOES NOT CONTAIN) in JQL: syntax and examples
!~ keeps the work items whose text field does not match the search words. It is the negative form of ~ and it works on Summary, Description, Environment, Comment, text custom fields and the work item key. Use it to cut noise out of a list.
Syntax
f
i
e
l
d
!
~
"
w
o
r
d
s
"
Works with
- Fields: Summary, Description, Environment, Comment, text custom fields (free text), work item key
- Not with: Status, Assignee, Priority and other non-text fields
- Related: the text field searches Summary, Description, Environment, Comments and all text custom fields at once
Examples
project = WEB AND summary !~ "redesign" ORDER BY created DESCWEB work that has nothing to do with the redesign, newest first. A quick way to separate a big theme from day-to-day tasks.
Run on Jira Cloud on .
project = WEB AND description !~ "login" AND statusCategory != DoneOpen work whose description never mentions login. The search covers the description only, so a login summary can still appear.
Run on Jira Cloud on .
summary !~ "log*"A wildcard at the end of the word excludes login, logs, logging and similar. Stemming and wildcards work in the negative form too.
Run on Jira Cloud on .
key !~ "WEB-1*"Keys that do not start with WEB-1, which leaves out WEB-1 and WEB-10 to WEB-19. The key is matched as text.
Run on Jira Cloud on .
project = WEB AND summary !~ "redesign" AND summary !~ "login"Excludes items that mention either word. Each word gets its own condition, see the pitfall on several words.
Run on Jira Cloud on .
project = WEB AND NOT summary ~ "redesign"The NOT keyword in front of ~ gives the same list as !~. Pick whichever reads better in a long query.
Run on Jira Cloud on .
Pitfalls
- Items with an empty field are not returned:
description is EMPTY AND description !~ "checkout"finds nothing. Query the empty ones separately withdescription is EMPTY(checked on Jira Cloud, November 2026). - Several words inside one value are combined with AND before the negation.
summary !~ "redesign login"removes only the items that contain both words. - An empty string is rejected:
summary !~ ""returns "The field 'summary' does not support searching for an empty string." - Fields that are not text fail:
status !~ "Done"returns "The operator '!~' is not supported by the 'status' field." Use != or NOT IN there.
Questions and answers
Is !~ the same as NOT with ~?
In a check on a WEB project, summary !~ "redesign" and NOT summary ~ "redesign" returned lists of the same size. The NOT form needs the NOT keyword in front of the whole condition.