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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

JQL for filter to pull in epic and its children

Looking for help writing a couple of JQL queries to pull data into AR plans. I think there are a number of ways to do these queries. Looking for the simplest one that we can give to team members to replicate when they want to pull specific work in from other teams.

1) Pull in an epic and all of its children

2) Pull in an initiative and all of its children (epics, stories, subtasks, etc.)

Note that we are on Data Center so some of the custom JQL queries available in Cloud, such as "portfolioChildIssuesOf", are not available to us.

 

 

2 answers

2 accepted

0 votes
Answer accepted
Marc Koppelaar
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.
Aug 03, 2023

Hi @Alison Clough 

You will need an app for this.

As @Chris Buzon mentioned scriptrunner is an option, as it offers extra JQL options like the one you need.

Or there are other JQL extensions apps on the Marketplace.

I use JQL search extensions for Jira  in cloud, but it is also available in DC

0 votes
Answer accepted
Chris Buzon
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.
Aug 01, 2023

JQL doesn't have a nice way to do this out of the box, often you need something like Structure (app) or scriptrunner to do it.

In plans (AR) you can feed it several filters, so you can pass it a list of Epics (1 filter) and then a list of stories/tasks where epic-link/parent is not empty, OR 3rd a list where "epic link in (list)".  Once you have all the data+ more, it'll understand the relationships.

it's possible to get around the issue going forward, by using automation to label or otherwise edit tickets when they're attached to an epic or initiative, but it doesn't really help you at the moment. It's also a gross solution, and just clutters up your data with workarounds and noise.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events