Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
UI Text Box
sizemedium
typeinfo

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.

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 as the current one - excluding the current issue.

UI Expand
titleAdditional information
UI Text Box
typetip

siblingSubtasks() is the equivalent of

Code Block
subtasks(%{parent.key}) EXCEPT issueKeysToIssueList(%{issue.key})
UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list


UI Text Box
sizemedium
typeinfo

Variant where you can specify an issue list to retrieve 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("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]

UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueKeys

Status
subtletrue
titletext

A text with comma separated list of issue keys.
UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list

Page properties
hiddentrue

Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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

Page properties
hiddentrue
Short description
Returns all sibling sub-tasks.
Output

Status
subtletrue
titleissue list

Available since

Status
subtletrue
colourBlue
title2.2.1

Label