How to I get a list of Epics that have Issues linked to them?

Hi I am trying to create filtered boards for various components and expecting to show only those epics on the Story board I used the following JQL but it returns all the Epics (rightfully so) and only the issues that have component set to iMedia. What I want is the query to return only the Epics that have issues whose component name is XYZ - so that the board looks neat. I don't want to use any plugins. Is there a way this can be done, if not can you think of any alternate solution?

project = GAN AND (issuetype = Epic OR component = XYZ) 

1 answer

1 accepted

0 votes
Tarun Sapra Community Champion Dec 04, 2017

If I understand your requirement correctly - you basically want all the Epics which has issues with component name = XYZ.

I don't think it's out of the box supported by JIRA.

using a plugin (script runner) it's pretty easy.

issueFunction in epicsOf("type=story and component = XYZ") 

The above query gets all epics which have stories with component XYZ as issues in epic.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

355 views 1 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot