JQL Queries search for issues that do not contain text
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
要約
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".
環境
8.5.5
回避策
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.
Note: This doesn't apply when indicating Summary, rather than text. For example, both the following will work:
NOT(Summary ~"ABC*")
!(Summary ~ "ABC*")