This function returns the number of available options of selectable fields.
Disabled options will be ignored.
numberOfAvailableItems(field) #Output: Number
If you need the actual options instead of just the number try using availableItems()
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 19 Next »
This function returns the number of available options of selectable fields.
Disabled options will be ignored.
numberOfAvailableItems(field) #Output: Number
Parser expression | Description |
---|---|
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
Paramater | Input (data type) | Description |
---|---|---|
field | TEXT | The parameter must be a valid field code for a selectable field. |
This function returns a NUMBER
If you need the actual options instead of just the number try using availableItems()
Powered by Atlassian Confluence 8.5.7, themed by Refined 7.5.3 and Decadis AG