This function returns the list of sub-tasks of the current issue.
Bash
subtasks() #Output: Issue list
Variant where you can specify multiple parent issues as an issue list.
Bash
subtasks(issueList) #Output: Issue list
Variant where you can specify multiple parent issues as a comma separated list of issue keys.
Bash
subtasks(issueKeys) #Output: Issue list
📚 Use cases and examples
| Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
|---|---|---|---|---|---|
| Components from all sub-tasks |
(input latin letters) |
||||
| Total remaining estimate in an epic (all linked issues) |
|
Number | |||
| Number of open subtasks |
|
Number | |||
| Difference between the current date and the earliest due date |
|
Number | |||
| Sum up value in parent issue on field change in sub-tasks |
|
||||
| Clone epic, tasks and sub-tasks |
|
toString() toStringList() issueKeysToIssueList() replaceFirst() first() fieldValue() textOnStringList() findModify() subtasks() issuesUnderEpic() | |||
| Block a transition until all sub-tasks have certain fields populated |
|