Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titletododone

Style guide

Status
colourGreen
titletododone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Returns a list with elements present in both lists simultaneouslyCompares two lists and returns all common elements.

Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourRed
titleneeds lookup




UI Text Box
sizemedium
typeinfo

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

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


Code Block
languagebash
titleOperator
linenumberstrue
llist1 INTERSECT mlist2 #Output: List


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
[1, 1, 2, 3] INTERSECT [1, 3, 5]


This example returns

the following number list: [1, 3]


Code Block
languagebash
linenumberstrue
["red", "blue", "blue"] INTERSECT ["blue", "yellow", "yellow"]


This example returns

the following text list: ["blue"]


Code Block
languagebash
linenumberstrue
linkedIssues() INTERSECT subtasks()


This example returns a list with

those

all sub-tasks which are also linked to the current issue.

To achieve this, the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxlist1

Status
subtletrue
titlelistdata type

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

Status
subtletrue
titlelistdata type

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlelist