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



Parser expressionDescription


siblingSubtasks()


This example returns all sub-tasks with the same parent as the current one - excluding the current issue.




siblingSubtasks() is the equivalent of

subtasks(%{parent.key}) EXCEPT issueKeysToIssueList(%{issue.key})




This function returns an




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


siblingSubtasks(issueList) #Output: Issue list



Parser expressionDescription


siblingSubtasks(linkedIssues())


This example returns all sibling sub-tasks of the currently linked issues.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
issueList

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



This function returns an




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


siblingSubtasks(issueKeys) #Output: Issue list



Parser expressionDescription


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]



Parameters used in this function

ParameterInput (data type)Description
issueKeys

A text with comma separated list of issue keys.



This function returns an



Use cases and examples



Parser function cloud
Map(question)
Notes

Workaround

let parent = issue.parent;
parent.subtasks.filter(s=>s.key!=issue.key)







Status
Tech review

Style guide




Short description
Returns all sibling sub-tasks.
Output

Available since

Label