JQL Queries search for issues that do not contain text
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
It is not possible to search for issues that don't contain text "ABC" using JQL queries like text !~ "ABC" or text not in "ABC".
Environment
8.5.5
Workaround
Perform the following JQL search to find all the issues containing the text first.
text ~ 'ABC'
- Save this search as a filter. Let's say the filter name is FILTER.
Navigate away from the filter page and go back to the issue search page. Type the following filter.
filter != FILTER
Once you filter out the issues that do contain the text, you can use the "!=" with the filter to find out all the issues that don't contain the text.