Sub-tasks
This page provides information on various functions used to find issues with sub-tasks and parents:
Find issues with sub-tasks (hasSubtasks
)
Use hasSubtasks() to find issues with sub-tasks:
Find sub-tasks of issues specified by a subquery (subtasksOf
)
Use subtasksOf()
to find the sub-tasks of issues specified by the subquery:
You can leave the subquery as an empty string to find all subtasks of any issue:
subtasksOf() examples
Additional example
See an additional example on our Issue Links page for how to Find all issues in an epic, and their subtasks.
We want to find all subtasks in project SSP that do not have a resolution:
We want to find all unresolved sub-tasks of resolved issues in project SSP:
We want to find all sub-tasks of issues that are in the To do status:
We want to find all sub-tasks that are Open, but their parent issue has a resolution of Fixed:
Find all parents of issues specified by a subquery (parentsOf
)
Use parentsOf()
to find the parents of issues specified by the subquery:
parentsOf
examples
In this context, parent issues are any issues that have sub-tasks. This function does not cover Epic-Story or Epic-Task relationships.
We want to find any resolved parent issues in project SSP that still have open sub-tasks:
We want find all parent issues where the current user is the assignee of an open sub-task:
We want to find all parent issues that have at least one sub-task In progress, in the SSP project: