You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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)"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.