Create a filter showing multiple epics and all stories linked to each epic

Kashiefa Solomon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2021

Hi Everyone

I'm trying to create a view of all epics in our project with the stories linked to them.  How do I do this in Jql?

Thanks

1 answer

2 votes
Flavien Gache
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 12, 2021

Hi Kashiefa.

you can do something like this : 

"Epic Link" in (KEY-1) AND issuetype = story AND project = ABC

Of course, if you want several epics, you have to add them in the parenthesis of Epic Link.

 

If you want to have an Epic for your project and its children here you go :

parentEpic = KEY-1

You will have to add all the epics for this.

One last can be this one :

project = PRJ and parentEpic in (KEY-1, KEY-2)...

 

It's a bit tricky to use these functions. To my knowledge it is not possible to automate it easily by passing a filter to parentEpic.

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 12, 2021

Hi @Kashiefa Solomon -- Welcome to the Atlassian Community!

To add onto what @Flavien Gache suggests, if you only need to run this query once, you could:

  • First get all the epic keys with a query
project = myProject AND issueType = epic
  • Export that list, and grab just the keys
  • Turn that into a CSV list using your favorite editor search-replace functions or export
KEY-1, KEY-2...
  • Then use the list to get the epics and children in one query, pasting in the above list
key IN (KEY-1, KEY-2...) OR parentEpic IN (KEY-1, KEY-2...)


Best regards,

Bill

Like Paolo Villacarlos likes this
Paolo Villacarlos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2023

Just came to say this solution worked for me. :whoo-hoo-homer:

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events