Forums

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

Epics not showing up in Panel if Board filter includes Epic

jo kok
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!
October 6, 2022

Hi

When I try to exclude certain epics using the board filter, all the other Epics also disappear from the Panel. When I remove that Epic filter, all other epics reappear in the panel. 

project = DATA AND component = "Data Systems" AND "Epic Link" != DATA-1766 ORDER BY Rank ASC

 

2 answers

1 vote
Trudy Claspill
Community Champion
October 6, 2022

Hello @jo kok 

Welcome to the community.

What your filter is doing is checking every issue's "Epic Link" field and excluding every issue that has a value and that value is not "DATA-1766".

The first problem is that the Epic Link field is used in child issues to keep track of the issue key of their parent Epic. If the child issue has no parent Epic then the field is empty.

The second problem is that this filter will exclude all issues where the Epic Link field is empty. Using the != operator assumes that there will be a value in the field to check.

The third problem is that this is not the right criteria at all if you are trying to exclude specific issues from your board based on the ID of the issue, regardless of issue type. Instead you need to use 


issuekey not in (<comma separated list of Epic Issue Keys>)
Trudy Claspill
Community Champion
October 7, 2022

So, the requirement is to select issues from the project while excluding certain Epics and the child issues of those Epics? Do you also have Sub-tasks? You also have a Component criteria. Is that Component value going to be on all the Epics and non-Epics that you want to include? Assuming it is then you basically need a filter like this:

project = DATA AND component = "Data Systems" AND ((select epics) or (select non-epics))

Replace (select epics) with the criteria you have for selecting/excluding the Epics you want:

project = DATA AND component = "Data Systems" AND ((Type=Epic and issueKey not in (list of Epics to exclude)) or (select non-epics))

Then replace (select non-epics) with the criteria that will include (or exclude) the correct issues:

project = DATA AND component = "Data Systems" AND ((Type=Epic and issueKey not in (list of Epics to exclude)) or (Type!=Epic and ("Epic Link" is empty or "Epic Link" not in (list of Epics to exclude))))

For the"select non-epics" portion you need to indicate that this criteria is 

- applied only to issue types that are not Epic, because we already have a section that selects the Epics

- Includes issues that are not linked to any Epic, in case there are such issues - the "Epic Link" is empty portion

- exclude the issues that are children of the excluded Epics - the "Epic Link" not in (list of Epics to exclude) portion.

The second and third criteria there need an OR so that you get the issues that match either of those portions.

Mariem Souissi
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!
July 18, 2023

I had the same issue and it solved it! thank you!

0 votes
jo kok
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!
October 7, 2022

Hi @Trudy Claspill thanks for the above. This solves the issue for the epics panel, however the stories linked to the epics are still appearing on the board and I want to filter those out as well. Would you have any suggestions?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events