Current issue
This function returns a list of all sibling sub-tasks of the current issue.
In case the current issue is not a sub-task, an empty issue list will be returned.
siblingSubtasks() #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns all sub-tasks with the same parent as the current one - excluding the current issue. |
Additional information
siblingSubtasks() is the equivalent of
subtasks(%{parent.key}) EXCEPT issueKeysToIssueList(%{issue.key})
Output
This function returns an issue list
Issue list
Variant where you can specify an issue list to retrieve the sibling sub-tasks from.
siblingSubtasks(issueList) #Output: Issue list
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns all sibling sub-tasks of the currently linked issues. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
Output
This function returns an issue list
Issue keys
Variant where you can specify a comma-separated list of issue keys to get the sibling sub-tasks from.
siblingSubtasks(issueKeys) #Output: Issue list
Examples
|
Parser expression |
Descriptio |
|---|---|
|
Bash
|
This example returns all sibling sub-tasks of the issues MARKET-1 and MARKET-2, e.g.: [MARKET-143, MARKET-142, MARKET-139, MARKET-141, MARKET-140, MARKET-138] |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
A text with comma separated list of issue keys. |
Output
This function returns an issue list
📚 Use cases and examples
| Use case | Workflow function | Automated action | Parser functions |
|---|---|---|---|
| Set Due Date with latest value among sub-tasks | |||
| Automatically close parent when all sub-tasks are done |