First of all, I'm using scriptrunner in order to get most of the information I need.
This query returns all the epics that has TIP-1 as a parent link: (not dynamic but that's ok)
issueFunction in hasLinks("is Epic of") AND "Parent Link" = TIP-1
Now let's get into the nitty and gritty ;)
This query returns all storys, issues and subtasks based on a list of epics:
"Epic Link" in (epic-1,epic2) OR issueFunction in subtasksOf("\"Epic Link\" in (epic1,epic2)")
In the above query, I would like it to return all subtasks,issues,storys etc based on a dynamic list that I get from the first query.
Since the epics in TIP-1 tend to change, some added, some deleted etc, I can't have a static list when getting all the subtasks etc.
Is there anyone out there that can help me out, I'm slowly losing my mind :D
So I solved it, clearly I am a dummy :)
I solved it by traversing from the initiative instead of the epic; using the following query:
issuekey in childIssuesOf("TIP-1") and issuetype not in (epic)
Which returns all bugs, tasks, storys, subtasks etc.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event