The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Flavien Gache
Community Champion
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 Champions.
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:

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events