Hi,
subtasks could be from a task or from a bug. I want to have a filter only for bugs and subtasks from bugs. How can I write a search for subtasks which are only a child from a bug?
Thank you very much.
Best regards.
Hello,
It is not possible out of the box.
You need a plugin like ScriptRunner to have this functionality. If you use ScriptRunner, then you can use the subtaskOf function:
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_subtasksof
Hi Claudia,
Try this,
issuetype = sub-task AND issueFunction in subtasksOf("issuetype in (task, bug)")
Hi
Yes, Its not possible with existing Jira query .
You need to have plugin like" JQL Search Extensions" to have this functionary in the advanced search tab . This plugin works for both could and server
With simple query can get the results
Query using the plugin : parentIssueType = Bug(Gives us list of sub-tasks which bugs are the parent issues )
https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/3375124/JQL+Reference+Cloud#JQLReference(Cloud)-SubtaskIssueType
Regards,
Sudhakar
It looks like you're new here. Sign in or register to get started.