Jira does not provide a direct way to make this search. Having said that, this is achievable by third-party add-ons that add different searching functions such as ScriptRunner for Jira.
After installing the add-on, on your dashboard go to “ScriptRunner Enhanced Search”.
This query will get all sub-tasks whose parents have a type defined by a subquery and it should return the results you want:
project = ABC AND issueFunction in subtasksOf("project = ABC AND type = XYZ”)
I’d recommend checking out the documentation for Scriptrunner for Jira for further description of its features.
Please, let me know if this worked for you and be sure to ask if you have any question.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events