Forums

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

JQL to find all epics in certain initiatives in advanced roadmaps

Scott Lingle
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!
June 15, 2021

We have a large roadmap that acts as our strategic plan.  In that roadmap are many initiatives.  Under them, epics, etc.  Our team's projects are by Epic that rollup into initiatives, etc.  which means multiple teams can have epics under an initiative.

I'm grabbing all of the epics that belong to my team.  Easy enough - I have a label on all of our assigned epics.  What I really want to get is all the initiatives in which they are contained and ultimately their strategic priority.  Basically, my team's subset of the roadmap with the hierarchy in-tact.

We're in cloud, with ScriptRunner.  Epics are not linked to their initiative so I have to use the Portfolio hierarchy. 

I could have done this on data center pretty easily, but the answer eludes me in cloud.  Any help would be greatly appreciated.

1 answer

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
June 15, 2021

Hi Scott,


With standard JQL you can only get parents of specific epics.

You may want to consider our professional indexing service JQL Search Extensions.

After you install the app, you are able to find parent initiatives of epics witha particular label:

issue in parentsOfIssuesInQuery("labels=mylabel and type=Epic")

Suggest an answer

Log in or Sign up to answer