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 number, text, or issue list with all numbers, texts, or issues in argument l and m simultaneouslyReturns common elements of two lists.

Output

Status
subtletrue
titlelist

Available since

Status
subtletrue
colourBlue
title2.1.21




Panel

Supported list types

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


UI Text Box
typetip

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


Number list

UI Text Box
sizemedium
typeinfo

This function returns a number list with all numbers in argument l and m simultaneously.numbers present in two lists simultaneously


Code Block
languagebash
titleSyntax
intersect(number list lnumberList1, number list mnumberList2) #Output: Number list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
intersect([1, 1, 2, 3, 4, 5],] INTERSECT [91, 73, 5, 3, 1]) 


This example returns

the following number list: [1, 3, 5]



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxnumberList1

Status
subtletrue
titledata type

Parameter description.

list

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

Status
subtletrue
titlelistdata type

Parameter descriptionAny 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

This function returns a text list with all common texts in argument l and mVariant for text lists.


Code Block
languagebash
titleSyntax
linenumberstrue
intersect(string list ltextList1, string list mtextList2) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
intersect(["blue", "red", "greenblue", "blackblue"], INTERSECT ["redblue", "greenyellow", "yellow"])


This example returns the following text list:

["red", blue"green"]





UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxtextList1

Status
subtletrue
titlelistdata type

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

Status
subtletrue
titledata typelist

Any type of text list. Learn more about working with listsParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titletext list



Issue list

UI Text Box
sizemedium
typeinfo

This function returns an issue list with all issues in argument l and m simultaneouslyVariant for issue lists.


Code Block
languagebash
titleSyntax
linenumberstrue
intersect(issue list lissueList1, issue list missueList2) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
intersect(linkedIssues(), INTERSECT subtasks())


This example returns an issue list of linked issues a list with all sub-tasks which are also sub-tasks of 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
xxxissueList1

Status
subtletrue
titledata type

Parameter description.

list

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

Status
subtletrue
titlelistdata type

Parameter descriptionAny type of issue list. Learn more about working with lists.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list