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

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

JQL to find all epics in certain initiatives in advanced roadmaps Edited

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

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
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

758 views 2 21
Read article

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