How can I search of child issues from non-parent list

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.

Example:

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. 

1 answer

0 vote

Hi Penny,

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,

Regards,
Andy 

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

75 views 0 5
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you