JQL to show EPICS for the given keys and its stories and subtasks in Jira cloud

Vinoth Vanchinathan February 6, 2020

I have some epics (xx-1, xx-2, xx-3, xx-4) and I want to list down the EPICS, its stories and its sub-tasks. No add-on installed in my Jira cloud. So I need a plain JQL.

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 6, 2020

Hi @Vinoth Vanchinathan 

Short answer: Without add-ons or Atlassian adding a new feature, I do not believe you can do this with one query.

Longer answer: You can get close with some queries, exports to Excel, and follow-up queries.  For example...

This query would return the epics, stories, and bugs associated to a list of epics:

project = myProject
AND "Epic Link" IN (epicKey1, epicKey2, etc.)
OR parentEpic IN (epicKey1, epicKey2, etc.)

Once you have the story and bug list, you could use a second query to get the sub-tasks with the following

project = myProject
AND parent IN (storyKey1, storyKey2, bugKey1, etc.)
AND issuetype IN subTaskIssueTypes()

 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer