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?
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.