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 list with all numbers, texts, or issues in argument l or in argument m without duplicated numbers distinct 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


Number list

UI Text Box
sizemedium
typeinfo

This function returns a number list with all numbers in argument l or in argument m without duplicated numbersdistinct elements from two lists.


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


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
union([1, 2, 3], [3, 4, 5]) 


This example returns

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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxnumberList1

Status
subtletrue
titledata typenumber list

Any given number listParameter description.
xxxnumberList2

Status
subtletrue
titledata typenumber list

Any given number listParameter description.



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 texts in argument l or in argument m without duplicated textsVariant for text lists.


Code Block
languagebash
titleSyntax
linenumberstrue
union(text list ltextList1, text list mtextList2) #Output: Text list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
union(["blue", "red", "green"], ["red", "green", "yellow"])


This example returns

the following text list["blue", "red", "green", "yellow"]


Code Block
languagebash
linenumberstrue
 union(fieldValue(%{00074}, subtasks()), fieldValue(%{00074}, linkedIssues())) 


This example returns the text listof with distinct Fix Version/s selected among of all sub-tasks and linked blocking issues.

To achieve this the following functions are used:



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
xxxtextList1

Status
subtletrue
titledata typetext list

Any given text listParameter description.
xxxtextList2

Status
subtletrue
titledata typetext list

Any given text listParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber text list



Issue list

UI Text Box
sizemedium
typeinfo

This function returns an issue list with all issues in argument l or in argument m without duplicated issuesVariant for issue lists.


Code Block
languagebash
titleSyntaxsyntax
linenumberstrue
union(issue list lissueList1, issue list missueList2) #Output: Issue list


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
union(linkedIssues(), subtasks()) 


This example returns the issue list of linked issues and sub-tasks of current issue, without issue repetitions. duplicates.

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.

issue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).
issueList2xxx

Status
subtletrue
titledata typeissue list

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks())Parameter description.



UI Expand
titleOutput

This function returns an

Status
subtletrue
titleissue list


UI Text Box
typetip

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