Enhanced Search for Jira Cloud

Sub-task Functions

Return sub-tasks of issues, or parent of sub-tasks.

subtasksOf(subquery)

Returns the sub-tasks of issues specified by the subquery. For example:

issueFunction in subtasksOf("project = DEMO")

To find unresolved sub-tasks of resolved issues you might do:

issueFunction in subtasksOf("resolution IS NOT EMPTY") AND resolution IS EMPTY

To find sub-tasks that are Open, but their parent issue has a resolution of Fixed, you could use:

issueFunction in subtasksOf("resolution = Fixed") AND status = Open
You can leave subquery empty in these examples if required, but the query will be inefficient

parentsOf(subquery)

Returns the parents of issues specified by the subquery. For example, to find Closed parents with Open sub-tasks in the project DEMO, you could do:

status = Closed AND issueFunction in parentsOf("project = DEMO AND status = open")

To show parent issues that have at least one open sub-task, in the DEMO project, you might do:

issueFunction in parentsOf("project = DEMO AND status = Open")