Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Show all issues not in epic and exclude others from other epics

Anna Gawliczek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 20, 2021

Hi, I need to show done bugs from a period of time, but the challenge is that I need to exclude bugs from 5 epic in that search and show bugs either not having epics at all or being in other epics than those 5. When I use below search I do not receive issues without epics:

project =  XXX AND issuetype = Bug AND created <= -6w AND resolved >= 2021-07-01 AND resolved <= 2021-08-13 AND filter = "XXX Squad Filter" and "Epic Link" not in (XXX, XXX, XXX, XXX, XXX)

 

Any ideas why is that? :)

1 answer

0 votes
Marcin Szymkowiak
Contributor
August 20, 2021

Hi Anna :) 

You need to change the last part of your JQL to:

 and ("Epic Link" not in (XXX, XXX, XXX, XXX, XXX) or "Epic Link" is EMPTY)

 

From the docs: 

"The "NOT IN" operator will not match a field that has no value (i.e. a field that is empty). "

 

Check for more details: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-operators/

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events