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
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
I'm struggling to get the expected results, hope the community can help me!
I want to get tasks that are linked to specific issues.
I can find these tasks with the query
issuetype = task AND "Epic LINK" in (key 1, key 2, key 3)
-> that's already helpful for me
But I want to find the keys to the EPICs in above query based on a filter like
issuetype = EPIC AND "program increment" = PI_3
How do I combine both queries to find all tasks in EPICs part of PI_3 without always manually searching for the corresponding keys and entering them manually as I did in query #1?
Thanks for your help!
Hello @Alexander Kraus
Welcome to the community.
What you want to do is not supported natively by the Jira Cloud product. You would need to add a third party app that extends the Jira JQL capabilities to get what you want.
For example, I have used the Adaptavist ScriptRunner app. It would allow you to do this by providing a function to get the child issues of Epics based on a filter used to specify the Epics.
This function allows you to find issues related to epics found by the subquery. For example, find all stories for open Epics in a project:
issueFunction in issuesInEpics("project = DEMO AND status = 'To Do'")
issueFunction in issuesInEpics("resolution IS NOT EMPTY") AND resolution IS EMPTY
As you're on Jira Cloud, the correct answer is to get an app that provides JQL extensions you're looking for.
With standard JQL, you can only get a list of issues and export them to Excel for further processing. This works if you want to do a one-off analysis. If your use case is more dynamic than that, look beyond standard Jira.
Standard JQL doesn't easily allow it, but you can quickly find the results using our professional indexing service JQL Search Extensions
You can use this query to find your tasks that are children of epics whose program increment' = 'PI_3'
issue in childrenOfEpicsInQuery("'program increment' = 'PI_3'") and issuetype = task
Check out the documentation for more examples.
If you have any other questions, please contact our support. We’ll be happy to help you!