Issues with subtasks
The examples on this page describe how to build a JQL search using JQL Search Extensions.
On this page: |
---|
Issues with subtasks JQL functions
JQL functions are accessible from the Extended Search page or Extended Search filters in Jira advanced search. When using functions, the issues returned are based on the subquery defined in parentheses.
parentsOfSubtasksInQuery()
For a given JQL subquery, it finds the parents of the resulting subtasks.
Examples
issue in parentsOfSubtasksInQuery("status='To Do'") and status='Done'
finds finished issues that have unfinished subtasksissue in parentsOfSubtasksInQuery("assignee=currentUser()")
finds parents of my subtasksSubtasks JQL keywords
Issues with subtasks JQL keywords
subtasksCount
Search for issues that have a particular number of subtasks.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Examples
Find issues with subtasks.
subtasksCount > 0
subtaskSummary
Search for issues that have subtasks where the summary contains particular text.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN | WAS | WAS IN | WAS NOT | WAS NOT IN | CHANGED |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Examples:
Find issues in which subtasks summary contains text Test
.
subtaskSummary ~ "Test"
subtaskKey
Search for issues that have subtasks with a particular key.
Supported operators
= | != | ~ | !~ | > | >= | < | <= | IS | IS NOT | IN | NOT IN |
---|