Hi all
Can anyone help me with this?
I want to see all child issues from all the parents that have field PI set to PI 5
Show me all child issues (Story, Task) where parent (Feature) has PI = PI 5.
How do I do this?
Thanks
Wendy
You can use JIRA Query Language (JQL) to achieve this. Try the following query:
issueType in (Story, Task) AND "Parent Link" in (filter="Parent Issues with PI 5")
However, since JIRA does not allow direct querying of parent fields from child issues, you will first need to create a filter for the parent issues (Features) that have PI = PI 5
.
Run this JQL and save it as a filter (e.g., Parent Issues with PI 5):
issueType = Feature AND PI = "PI 5"
Now, use the saved filter in another JQL query to fetch child issues:
issueType in (Story, Task) AND "Parent Link" in (filter="Parent Issues with PI 5")
If you are using Advanced Roadmaps for Jira (formerly Portfolio for Jira), you can replace "Parent Link"
with "Epic Link"
if the parent-child relationship is through Epics:
issueType in (Story, Task) AND "Epic Link" in (filter="Parent Issues with PI 5")
If you have the ScriptRunner plugin, you can use this more direct JQL:
issueFunction in issuesInEpics("issueType = Feature AND PI = 'PI 5'")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.