Versions Compared

Key

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


Panel

Supported list types

Table of Contents
exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Number list

UI Text Box
sizemedium
typeinfo

This function returns a number list with distinct elements from two lists.


Code Block
languagebash
titleSyntax
linenumberstrue
union(numberList1, numberList2) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


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


This example returns

[1, 2, 3, 4, 5]



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
numberList1

Status
subtletrue
titlenumber list

Any given number list.
numberList2

Status
subtletrue
titlenumber list

Any given number list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list



Text list

UI Text Box
sizemedium
typeinfo

Variant for text lists.


Code Block
languagebash
titleSyntax
linenumberstrue
union(textList1, textList2) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
union(["blue", "red", "green"], ["red", "green", "yellow"])


This example returns

["blue", "red", "green", "yellow"]


Code Block
languagebash
linenumberstrue
 union(fieldValue(%{00074}, subtasks()), fieldValue(%{00074}, linkedIssues())) 


This example returns a text list with distinct 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



Issue list

UI Text Box
sizemedium
typeinfo

Variant for issue lists.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
union(linkedIssues(), subtasks()) 


This example returns the issue list of linked issues and sub-tasks of current issue, without duplicates.

To achieve this the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList1

Status
subtletrue
titleissue list

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

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
typetip

This function is the equivalent to the list operator UNION 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_union" and space = currentSpace()


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 distinct elements of two lists.

Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourBlue
title2.1.21

Label