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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I need to create a scrum board, which displays all Epics by specific label (for example ABC) along with all related stories and subtasks. I created the filter below, which works fine for stories, however I am unable to find the way to fetch the sub-tasks as well:
(type = Epic AND labels = ABC OR OR type != Epic AND issueFunction in issuesInEpics("labels = ABC"))
How can it be updated in order to see all related items, related to Epics including subtasks?
The label exists in Epic only.
Thanks,
Victoria
Hello @Victoria Luskin
Welcome to the Atlassian community.
Essentially you need is to reuse the criteria for the Epic child issues as input for the subtasksOf function.
(type = Epic AND labels = ABC OR
type != Epic AND issueFunction in issuesInEpics("labels = ABC")) OR
issueFunction in subtasksOf("type != Epic AND issueFunction in issuesInEpics('labels = ABC')")
But I don't think Scriptrunner allows nesting the issueFunction feature that way.
What I got to work was saving the child of Epics part of the filter as one filter itself.
Then I referenced that filter in another filter:
(type = Epic AND labels = ABC) OR
filter = "issues in Epics labeled ABC" OR
issueFunction in subtasksOf("filter = 'issue in Epics labeled ABC' ")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.