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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,040
Community Members
 
Community Events
185
Community Groups

Initiatives with linked epics that contain a specific field value

I have "Initiatives" where are connected to epics using the parent link field. There is a PI dropdown field (PI1, PI2, PI3...) in the epics.

Is the a JQL that allows me to find a list of only initiatives that are linked epics with a specific PI value?

1 answer

0 votes
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 30, 2023 • edited

Hi @Scott_Federman - Not without a marketplace app.  If you have scriptrunner, you could do something like this:

issueType = Initiative AND issueFunction in portfolioParentsOf("issueType = Epic AND PI = PI1")

Hey @Mark Segall that actually mostly worked, right up to the PI part. That field is actually called "Planned PIs" and when i put that field name in the JQL without quotes around the field name,  i get

"Error in the JQL Query: Expecting operator but got 'PIs'. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 30)"

 

and with quotes around it i get

"Error in the JQL Query: Expecting ')' or ',' but got 'Planned'. (line 1, character 106)"

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 30, 2023

Yes quotes can totally mess with your head.  Try this instead:

issueType = Initiative AND issueFunction in portfolioParentsOf('issueType = Epic AND "Planned PIs" = PI1')

If you're still having fits, you could use the custom field ID like this:

issueType = Initiative AND issueFunction in portfolioParentsOf("issueType = Epic AND cf[xxxxx] = PI1")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events