You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »


Supported list types

Number list

The function returns a NUMBER LIST with all numbers in argument l or in argument m without duplicated numbers.

Syntax
union(number list l, number list m) #Output: Number list
Examples
Parser expressionDescription
union([1, 2, 3], [3, 4, 5]) 

The function returns the NUMBER LIST : [1, 2, 3, 4, 5]

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a NUMBER LIST


Text list

Returns a TEXT LIST with all texts in argument l or in argument m without duplicated texts.

Syntax
union(text list l, text list m) #Output: Text list
Examples
Parser expressionDescription
union(["blue", "red", "green"], ["red", "green", "yellow"])

The function returns the TEXT LIST["blue", "red", "green", "yellow"]

 union(fieldValue(%{00074}, subtasks()), fieldValue(%{00074}, linkedIssues())) 

The function returns the TEXT LISTof Fix Version/s selected among all sub-tasks and linked issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>

DATA TYPE

Parameter description.
<parameter>

DATA TYPE

Parameter description.
Output

The function returns a NUMBER LIST


Issue list

Returns an ISSUE LIST with all issues in argument l or in argument m without duplicated issues.

Syntax
union(issue list l, issue list m) #Output: Issue list
Examples
Parser expressionDescription
union(linkedIssues(), subtasks()) 

The function returns the ISSUE LIST of linked issues and sub-tasks of current issue, without issue repetitions.