I have a filter of all issues with a certain fixVersion. My team updates the parent story, but not the child. I want to be able to take that filtered list and with a click or two, be able to filter with all the children so I can bulk update the fixVersion. this is how we get work off of our Kanban boards and it would be great if I didn't have to create a new filter by typing in all the parent stories.
1st filter --> fixVersion = 'xyx"
Resutls --> IssueKey = 123, 234, 345, 456
2nd filter --> parent in (123, 234, 345, 456)
Is there a way I can get Jira to do this conversion for me without retyping the 2nd filter? I have dozens of stories/issues in a fixVersion. Please advise.
Within the native Jira code, I don't believe there is currently a way for JQL to do be able to do this. The parent field is explicitly expecting issue keys to be input there. Unfortunately this field does not permit us to pass it another existing filter.
However I believe you can more easily find these issues if you were to use a 3rd party plugin like Scriptrunner. This plugin provides a number of other JQL functions, specifically it has improved functions that allow you to use subqueries in regards to subtasks and parent issue relations.
If you had scriptrunner installed with Jira, you could then run a single JQL query such as:
issuefunction in subtasksOf("fixVersion = 1.0")
This query would only return the subtasks of issues that have a fixversion value of "1.0", not the parent issues themselves with that fixversion.
I hope this helps,
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs