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

Compare with Current View Page History

« Previous Version 3 Next »

Number list

The function returns a NUMBER LIST with all the numbers in argument l which are not in argument m. Duplicated numbers in l may appear in the output.

If you want to avoid repetition, use the function distinct().

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

The function returns a NUMBER LIST: [1, 3, 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

The function returns a STRING LIST with all strings in argument l which are not in argument m. Duplicated strings in l may appear in the output.
If you want to remove the output of the function except() use the function distinct().
Syntax
except(string list l, string list m) #Output: String list
Examples
Parser expressionDescription
except(["blue", "red", "green", "black"], ["red", "green", "yellow"])

The function returns a STRING LIST["blue", "black"]

Syntax
except(fieldValue(%{00074}, subtasks()), fieldValue(%{00074}, linkedIssues()))

returns the STRING LIST of Fix Version/s in sub-tasks and not in 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 STRING LIST