I have an Epic that has several stories and tasks, that, in turn have sub-tasks.
Is it possible to write a JQL to find all of the stories, tasks and sub-tasks that are tied to an Epic in Jira?
So far I've only been able to retrieve the stories and tasks using "Epic Link" = epic ref.
You can not do it out of the box. You would need an app for it like Power Scripts, ScriptRunner, JQL Extensions for Jira, J-tricks and so on.
If you want to use the Power Scripts app, then you could write a JQL query like this:
"Epic Link" = your epic or
key in subtasksOf(
"\"Epic Link\" = your epic "
For your case you can use the following query
issue in allIssuesInEpic(EPIC ID)
It will get all issues belongs to the epic you provided along with any sub tasks.
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events