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


numberOfSelectedItems(field) #Output: Number



Parser expressionDescription


 numberOfSelectedItems(%{issue.versions})


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

3



Parameters used in this function

ParameterInput (data type)Description
field

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



This function returns a



Use cases and examples




Status
Tech review

Style guide




Short description

Returns theĀ number of selected items in a given selectable field.

Output

Available since

Label