Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

1 vote
Flavien Gache Community Leader Feb 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.

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

Suggest an answer

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

Community Events

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

Events near you