Versions Compared

Key

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


hiddentrue

Page propertiespanel

Supported list types

Table of Contents

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 descriptionReturns a  Statussubtletruetitlenumber list with all numbers in arguments l and m. Duplicated numbers may appear in the outputOutput Statussubtletruetitlenumber

exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Image AddedNumber list

with all numbers in arguments l and m. Duplicated numbers may appear in the output.

UI Text Box
sizemedium
typeinfo

This function combines two number lists.

The order of elements is respected and the result may contain duplicatesAppend text lksandklnsakldnasasd function returns a

Status
subtletrue
titlenumber list


UI Text Box
typetip
If you want to avoid repetitionduplicates, use the function function union(l,m).


Code Block
languagebash
titleSyntax
linenumberstrue
append(stringListlnumberList1, stringList2numberList2) #Output: Number list


UI Expand
titleExamples


This example returns a number list with Total time Spent (in minutes) in blocking issues and sub-tasks.

To achieve this, the following functions are used:

Parser expressionDescription


Code Block
languagebash
linenumberstrue
append([1, 2, 3], [3, 4, 5])


This example returns

The function returns a

Status
subtletrue
titlenumber list
: [1, 2, 3, 3, 4, 5]


Code Block
languagebash
linenumberstrue
append(fieldValue({00025issue.timeSpent}, linkedIssues("is blocked by")), fieldValue({00025issue.timeSpent}, subtasks()))


The function returns a

Status
subtletrue
title
UI Text Box
typetip

This number list can be summed using function sum().




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>numberList1

Status
subtletrue
titledata typenumber list

Any given number listParameter description.
<parameter>numberList2

Status
subtletrue
title

data type
number list

Any given number listParameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber list

UI Text Box
sizemedium
typeinfo

.

If both lists are empty, the function returns an empty The function returns a

Status
subtletrue
titlenumber list
with all numbers in arguments l and m. Duplicated numbers may appear in the output..



Image AddedText list

UI Text Box
sizemedium
typetipinfo

Variant for text lists

If you want to avoid repetition, use the function union(l,m)

.


Code Block
languagebash
titleSyntax
linenumberstrue
append(number list ltextList1, number list mtextList2) #Output: NumberText list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
append([1"blue", 2"red", 3"green"], [3"red", 4"green", 5"yellow"])


This example returns

["blue", "red", "green", "red", "green", "yellow"The function returns a

Status
subtletrue
titlenumber list
: [1, 2, 3, 3, 4, 5]


Code Block
languagebash
linenumberstrue
append(fieldValue(%{issue.fixVersion}, subtasks()), fieldValue(%{00025issue.fixVersion}, linkedIssues("is blocked by"))), fieldValue({00025}, subtasks()))
The function returns a


This example returns a text list with Fix Version/s of all sub-tasks and blocking issues.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
textList1

Status
subtletrue
titletext list

Any given text list.
textList2

Status
subtletrue
titletext list

Any given text list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list
.

If both lists are empty, the function returns an empty 

Status
subtletrue
titletext list
.



Image Added Issue list

UI Text Box
sizemedium
typeinfo

Variant for issue lists.


Code Block
languagebash
titlesyntax
linenumberstrue
append(issueList1, issueList2) #Output: Issue list


UI Expand
titleExamples


with Total time Spent (in minutes) in blocking issues and sub-tasks. This number list can be summed using function sum().

If a sub-task is also linked with issue link type "is blocked by", it will appear twice in the output list.

To achieve this, the following functions are used:

Parser expressionDescription


Code Block
languagebash
linenumberstrue
append(linkedIssues("is blocked by"), subtasks())


This example returns an issue list of

number list



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>issueList1

Status
subtletrue
titledata type

Parameter description.

issue list

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

Status
subtletrue
title

data type
issue 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 both lists are empty, the function returns an empty 

Status
subtletrue
titleissue list
.


UI Text Box
typetip

This function is the equivalent to the list operator APPEND and can be used interchangeably. 



Image AddedUse cases and examples

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


Page properties
hiddentrue
id1


Parser function cloudappend()
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


Short description

Combines the elements of two lists.

Output
The function returns a

Status
subtletrue
title

number list

list

Available since

Status
subtletrue
colourBlue
title2.1.21

Label