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

Compare with Current View Page History

« Previous Version 9 Next »

Supported list types

Number list

This 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])

This example returns the following number list: [1, 3, 5]

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER LIST


Text list

This function returns a text 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: Text list
Examples
Parser expressionDescription
except(["blue", "red", "green", "black"], ["red", "green", "yellow"])

This example returns the following text list["blue", "black"]

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

This example returns the text list of Fix Version/s in sub-tasks and not in linked issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a TEXT LIST


Issue list

This function returns an issue list with all issues in argument l which are not in argument m. Duplicated issues in l may appear in output

If you want to remove the output of the function except() use the function distinct().
Syntax
except(issue list l, issue list m) #Output: Issue list
Examples
Parser expressionDescription
except(linkedIssues(), subtasks())

This example returns an issue list of linked issues removing those which are also sub-tasks of current issue.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns an ISSUE LIST