This function returns the number of available options of selectable fields.

Disabled options will be ignored.


numberOfAvailableItems(field) #Output: Number



Parser expressionDescription


 numberOfAvailableItems(%{issue.securityLevel})


This example returns the number of all available security levels available for the project and current user, e.g.

3



This function is equivalent to count(availableItems(%{...somefield}) .

Disabled options are discarded.

Parameters used in this function

ParamaterInput (data type)Description
field

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



This function returns a


If you need the actual options instead of just the number try using availableItems()



Use cases and examples



Parser function cloud
Map(error)
NotesNot possible to access to that kind of information about selectable fields.






Status
Tech review

Style guide




Short description

Returns the number of available options of selectable fields.

Output

Available since

Label