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
titletodo

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

Page properties
hiddentrue
Short description

Returns the list of sub-tasks of the current issue.

Output Statussubtletruetitleissue list UI Text Box
sizemedium
typeinfo

The This function returns the list of sub-tasks of the current issue.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
subtasks()


This example returns a list with the current issue's sub-tasks.



<parameter>

This function returns an

UI Expand
titleOutput
UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
Status
subtletrue
title

data type

issue list

Parameter description

.

UI Expand
titleOutput

The If there are no sub-tasks, the function returns an empty 

Status
subtletrue
titleissue list
.




UI Text Box
sizemedium
typeinfo

The function returns the list of sub-tasks of issues in argument issues. Duplicated issues in argument issues are discarded.Variant where you can specify multiple parent issues as an issue list.


Code Block
languagebash
titleSyntax
linenumberstrue
subtasks(issue list issuesissueList) #Output: Issue list


Syntax
UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
title
linenumberstrue
subtasks(linkedIssues())
The function


This example returns the list of the linked issues' sub-tasks

of linked issues

.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>issueList

Status
subtletrue
titledata typeissue list

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



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list
.

If there are no sub-tasks, the The function returns an empty 

Status
subtletrue
titleissue list
.




UI Text Box
sizemedium
typeinfo

Variant where you can specify multiple parent issues as a comma separated list of issue keys

The function returns the list of sub-tasks of issues whose keys are in issue_keys. Argument issue_keys is a comma-separated list of issue keys.

Duplicated issue keys in argument issue_keys are discarded.


Code Block
languagebash
titleSyntax
linenumberstrue
subtasks(text issue_keysissueKeys) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
titleSyntax
linenumberstrue
subtasks(%{
00041
parent.key})
The function


This example returns the list of sub-tasks of the parent issue, i.e.

,

 sibling sub-tasks

plus

including the current sub-task.


Code Block
languagebash
linenumberstrue
subtasks("TASK-1, TASK-2")


This example returns the list of sub-tasks of the specified issues.



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>issueKeys

Status
subtletrue
titledata typetext

A comma separated list of issue keysParameter description.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list
.

If there are no sub-tasks, the function returns an empty

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_subtasks" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloudsubtasks()
Map(tick)
Notes




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


The function returns an
Status
Short description

Returns sub-tasks of given issues.

Output

Status

subtletrue
titleissue list

Available since

Status
subtletrue
colourRed
titleneeds lookup

Label

Status
colourRed
titlestaff pick