how to find all the specific issue type for a set of particular issue types?

Saurabh Garg September 12, 2017

I have one issue type called as "QA Effort". This QA Effort can have parent issue type as "Epic, Story, Bugs, Feature". Now I want to find all the issue type("QA Effort") whose parent issue type is "Epic, Story". 

 Is there any way to achieve this?

1 answer

2 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 13, 2017

Natively, JIRA does not have a way to search for the parent issues like this from the child issue.   But you could use a plugin like Scriptrunner in order to gain some additional JQL functions in JIRA.  For example, with that plugin there is some documentation on Scriptrunner Scripted JQL Functions: subtasksOf and parentsOf.

So with that plugin you could then create a JQL query like:

issuetype in (Epic, Story) AND issueFunction in parentsOf(issuetype="QA Effort")

That would be able to find all those Epic/Story issues that have at least one subtask of type "QA Effort".

Suggest an answer

Log in or Sign up to answer