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
Hi - sorry for the long title!
I need to return all items, whether they are Epics, Stories, Tasks or Bugs but I only want to show items which are assigned to Sprints. This would be simple but our Epics are not assigned to Sprints.
Is it possible to find all tasks/stories/bugs which are assigned to sprints and include in the dataset the associated Epics (which are not assigned to sprints).
This would exclude Epics which have no sprint tasks assigned and also exclude tasks not assigned to Sprints.
We have scriptrunner if this makes it easier.
Thanks in advance!
With the "EpicOf" jql function provided by scriptrunner, you can do the following:
project in (AAA, BBB, CCC) AND (type in (Story, Task, Bug) OR issuefunction in epicsOf("project in (AAA, BBB, CCC) and type in (Story, Task, Bug)"))
It's best practice to include a project filter in the sub-query to limit performance impact.