You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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
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>)
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.