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

Compare with Current View Page History

« Previous Version 20 Next »

This function returns the number of selected items in a selectable field.

Syntax
numberOfSelectedItems(field) #Output: Number
Example
Parser expressionDescription
 numberOfSelectedItems(%{issue.versions})

This example returns the number of all affected versions for an issue, e.g.

3

Additional information

Parameters used in this function

ParameterInput (data type)Description
field

DATA TYPE

The parameter must be a valid field code for a selectable field.
Output

This function returns a NUMBER