This function returns a list with elements present in two lists simultaneously.

The returned list does not contain duplicates. The order is respected.


list1 INTERSECT list2 #Output: List



Parser expressionDescription


[1, 1, 2, 3] INTERSECT [1, 3, 5]


This example returns

[1, 3]


["red", "blue", "blue"] INTERSECT ["blue", "yellow", "yellow"]


This example returns

["blue"]


linkedIssues() INTERSECT subtasks()


This example returns a list with all sub-tasks which are also linked to the current issue.

To achieve this, the following functions are used:



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

Output

Available since

Label