siblingSubtasks()

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.


Bash
siblingSubtasks() #Output: Issue list


Examples

Parser expression

Description

Bash
siblingSubtasks()

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


Variant where you can specify an issue list to retrieve the sibling sub-tasks from.


Bash
siblingSubtasks(issueList) #Output: Issue list


Examples

Parser expression

Description

Bash
siblingSubtasks(linkedIssues())

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

issueList

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


Variant where you can specify a comma-separated list of issue keys to get the sibling sub-tasks from.


Bash
siblingSubtasks(issueKeys) #Output: Issue list


Examples

Parser expression

Descriptio

Bash
siblingSubtasks("MARKET-1, MARKET-2")

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

issueKeys

text

A text with comma separated list of issue keys.

Output

This function returns an issue list


📚 Use cases and examples