Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
colourGreen
titletododone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description
Returns the list of all sub-tasks with the same parent like the current issue.
Output

Status
subtletrue
titleissue list

Available since

Status
subtletrue
colourBlue
title2.2.1




UI Text Box
sizemedium
typeinfo

This function returns the list of all sub-tasks with the same parent like the current issue.

In case the current issue is not a sub-task, an empty issue list will be returned.


UI Text Box
typenote

siblingSubtasks() is equivalent to subtasks(%{parent.key})EXCEPT issueKeysToIssueList(%{issue.key}).


Code Block
languagebash
titleSyntax
linenumberstrue
siblingSubtasks() #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
siblingSubtasks()


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



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list
.

If the current issue is not a sub-task or there are no sibling sub-tasks, the function returns an empty

Status
subtletrue
titleissue list
.




UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
siblingSubtasks(issueList) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
siblingSubtasks(linkedIssues())


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

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList

Status
subtletrue
titleissue list

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



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list




UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
linenumberstrue
siblingSubtasks(issueKeys) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
siblingSubtasks(linkedIssues())


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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueKeys

Status
subtletrue
titletext

A text with comma separated issue keys.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list