Supported list types


Number list

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


union(numberList1, numberList2) #Output: Number list



Parser expressionDescription


union([1, 2, 3], [3, 4, 5]) 


This example returns

[1, 2, 3, 4, 5]



Parameters used in this function

ParameterInput (data type)Description
numberList1

Any given number list.
numberList2

Any given number list.



This function returns a



Text list

Variant for text lists.


union(textList1, textList2) #Output: Text list



Parser expressionDescription


union(["blue", "red", "green"], ["red", "green", "yellow"])


This example returns

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


 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:



Parameters used in this function

ParameterInput (data type)Description
textList1

Any given text list.
textList2

Any given text list.



This function returns a



Issue list

Variant for issue lists.


union(issueList1, issueList2) #Output: Issue list



Parser expressionDescription


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:



Parameters used in this function

ParameterInput (data type)Description
issueList1

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

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



This function returns an


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



Use cases and examples



Parser function cloudunion()
Map(tick)
Notes






Status
Tech review

Style guide




Short description

Returns distinct elements of two lists.

Output

Available since

Label