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
titledone

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 Statussubtletruetitleissue listAvailable since

Status
subtletrue
colourBlue
title2.2.1

UI Text Box
sizemedium
typeinfo

This function returns the a list of all sibling sub-tasks with the same parent like of 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 as the current one - excluding the current issue.



UI Expand
titleOutputAdditional information


UI Text Box
typetip

siblingSubtasks() is the equivalent of

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




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

This function returns an This function returns an

Status
subtletrue
titleissue list
Status
subtletrue
titleissue list
.




UI Text Box
sizemedium
typeinfo

Variant where you can specify an issue list to get 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(linkedIssues()"MARKET-1, MARKET-2")


This example returns all sibling sub-tasks of the currently linked issues.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



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_siblingsubtasks" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloud
Map(question)
Notes

Workaround

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





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