Forums

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

Help with a JQL to retrieve all epics based off children of the features in the epic

Jeremy Jedlicka
Contributor
November 4, 2022

Hello,

Our Jira hierarchy is as follows:

Epic
Feature
Story

The Epics and Features are in one project, and the Stories are split into separate Team projects.

I've been asked to show all Epics that have stories in specific projects. I can't use a basic JQL because the Stories are linked to the Features and then the Features are in the Epics.

I've written this JQL to show all Features that have stories in a category of projects:

type = feature and issueFunction in linkedIssuesOf("category = '6 Technical Shared Services'", "Parent ")


I now need to get all the Epics that have these Features in them. I have ScriptRunner, but I don't have JQL Booster Pack so I cant use:

issue IN epicsOf("filter='FeatureFilter'")

 

Is this possible?  Any help would be really appreaciated.

1 answer

0 votes
Seifallah Bellassoued
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.
November 4, 2022

Hello @Jeremy Jedlicka

The "Epic link" is a specific "Issue Link". You can use this JQL

issueFunction in linkedIssuesOf("filter='FeatureFilter'", 'is Epic of')

Regards,

Seif,

Suggest an answer

Log in or Sign up to answer