This function returns a list with all distinct elements in two lists.

The order is respected.


list1 UNION list2 #Output: List



Parser expressionDescription


[1, 2, 3] UNION [3, 4, 4]


This example returns

[1, 2, 3, 4]


["blue", "red", "red"] UNION ["red", "green"]


This example returns

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


linkedIssues() UNION subtasks()


This example returns a list with all linked issues and sub-tasks of the current issue without repetitions.



Parameters used in this function

ParameterInput (data type)Description
list1

Any type of text, number or issue list. Learn more about working with lists.
list2

Any type of text, number or issue list. Learn more about working with lists.



This function returns a





Status
Tech review

Style guide




Short description

Returns distinct elements of two lists.

Output

Available since

Label