HOW TO EXCLUDE issues in an epic (JQL)


I want to exclude issues which are part of a certain epic in my filter query. how do i do it.

I know i can search issues in an epic using, epic link=ABC-123 but how do i exclude issues in a certain epic.

It seems, epic link !=ABC-123 or epic link NOT IN (ABC-123)

does not seem to work.


1 answer

1 accepted

Accepted Answer
3 votes

Using "not" with epic links only seems to return issue where the epic link is not empty. So you have to do something like this:

not ("Epic Link" = ABC-3769) or "Epic Link" is empty and (backlog query)

yes that worked, i add this to the JQL AND("Epic Link" is null OR "Epic Link"!=ABC-123). Thanks Jamie.

Tried this (just the 'not "Epic LInk" = ABC-3769' to filter out / hide all items in that epic, but it keeps over-filtering (grabs tickets that are in a different epic). I had the same issue with "Epic Link" != ABC-3769.

Any way to get around what appears to be a weird bug?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,431 views 2 7
Join discussion

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