Supported list types

Number list

This function returns a number list with all numbers present in two lists simultaneously

Syntax
intersect(numberList1, numberList2) #Output: Number list
Examples
Parser expressionDescription
[1, 1, 2, 3] INTERSECT [1, 3, 5]

This example returns

[1, 3]

Additional information

Parameters used in this function

ParameterInput (data type)Description
numberList1

LIST

Any type of number list. Learn more about working with lists.
numberList2

LIST

Any type number list. Learn more about working with lists.
Output

This function returns a NUMBER LIST


Text list

Variant for text lists.

Syntax
intersect(textList1, textList2) #Output: Text list
Examples
Parser expressionDescription
["red", "blue", "blue"] INTERSECT ["blue", "yellow", "yellow"]

This example returns

["blue"]



Additional information

Parameters used in this function

ParameterInput (data type)Description
textList1

LIST

Any type of text list. Learn more about working with lists.
textList2

LIST

Any type of text list. Learn more about working with lists.
Output

This function returns a TEXT LIST


Issue list

Variant for issue lists.

Syntax
intersect(issueList1, issueList2) #Output: Issue list
Examples
Parser expressionDescription
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:


Additional information

Parameters used in this function

ParameterInput (data type)Description
issueList1

LIST

Any type of issue list. Learn more about working with lists.
issueList2

LIST

Any type of issue list. Learn more about working with lists.
Output

This function returns an ISSUE LIST

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