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 vote
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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

13,140 views 15 13
Join discussion

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