Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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

Page properties
hiddentrue
Short description

Returns common elements of two lists.

Output StatussubtletruetitlelistAvailable since

Status
subtletrue
colourBlue
title2.1.21

Panel

Supported list types

Table of Contents
exclude(Supported list types).*
stylecircle
typeflat
separatorpipe


Number list

UI Text Box
sizemedium
typeinfo

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


Code Block
languagebash
titleSyntax
intersect(numberList1, numberList2) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


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


This example returns

[1, 3]



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
numberList1

Status
subtletrue
titlelist

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

Status
subtletrue
titlelist

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber list



Text list

UI Text Box
sizemedium
typeinfo

Variant for text lists.


Code Block
languagebash
titleSyntax
linenumberstrue
intersect(textList1, textList2) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


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


This example returns

["blue"]





UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
textList1

Status
subtletrue
titlelist

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

Status
subtletrue
titlelist

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



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Issue list

UI Text Box
sizemedium
typeinfo

Variant for issue lists.


Code Block
languagebash
titleSyntax
linenumberstrue
intersect(issueList1, issueList2) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
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:




UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
issueList1

Status
subtletrue
titlelist

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

Status
subtletrue
titlelist

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



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list


UI Text Box
typetip

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



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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



Page properties
hiddentrue


Short description

Returns common elements of two lists.

Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourBlue
title2.1.21

Label