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

The order is respected.

Operator
list1 UNION list2 #Output: List
Examples
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.
Additional information

Parameters used in this function

ParameterInput (data type)Description
list1

LIST

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

LIST

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

This function returns a LIST