Status
Tech review

Style guide




Short description

Returns the list of sub-tasks of the specified issue(s).

Output

Available since




This function returns the list of sub-tasks of the current issue.


subtasks() #Output: Issue list



Parser expressionDescription


subtasks()


This example returns a list with the current issue's sub-tasks.



This function returns an .

If there are no sub-tasks, the function returns an empty .




Variant where you can specify an issue list where the sub-tasks should be retrieved from.


subtasks(issues) #Output: Issue list



Parser expressionDescription


subtasks(linkedIssues())


This example returns the list of the linked issues' sub-tasks.



Parameters used in this function

ParameterInput (data type)Description
issues

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).



This function returns an .

If there are no sub-tasks, the function returns an empty .




Variant where you can define issue keys as comma separated list instead of issues.


subtasks(issueKeys) #Output: Issue list



Parser expressionDescription


subtasks(%{parent.key})


This example returns the list of sub-tasks of the parent issue, i.e., sibling sub-tasks plus the current sub-task.


subtasks("TASK-1, TASK-2")


This example returns the list of sub-tasks of the specified issues.



Parameters used in this function

ParameterInput (data type)Description
issueKeys

A comma separated list of issue keys.



This function returns an .

If there are no sub-tasks, the function returns an empty .