Overview
Selectable fields are fields with a limited domain or set of options or possible values.
These fields includes:
- Select
- Multi Select
- Radio Button
- Security Level
- Checkboxes
- Components
- Versions
- Multi User Picker
- Multi Group Picker
- Issue Pickers
- Attachments
- Labels
Available functions
Function | Input | Returned value |
---|---|---|
numberOfSelectedItems(%{...somefield}) : number | FIELD | Returns the NUMBER of selected items in select or multiselect field with field code %{...somefield}. |
numberOfAvailableItems(%{...somefield}) : number | FIELD | Returns the NUMBER of available options in select or multiselect field with field code %{...somefield}. It's equivalent to |
availableItems(%{...somefield}) : string list | FIELD | Returns a STRING [] with available options in select or multiselect field with field code %{...somefield}. Disabled options are discarded. |
availableItems(%{...somefield}, string option) : string list 0 | FIELD | Returns a STRING [] with all available child options in cascading or multilevel cascading field with ID %{...somefield}, and for option parent option. In the case of multilevel cascading fields, a comma separated list of options should be entered. Disabled options are discarded. |
allAvailableItems(%{...somefield}) : string list | FIELD | Returns a STRING [] with all available options in select or multiselect field with field code %{...somefield}. Disabled options are included. |
allAvailableItems(%{...somefield}, string option) : string list | FIELD | Returns a STRING [] with all available child options in cascading or multilevel cascading field with ID %{...somefield}, and for option parent option. In the case of multilevel cascading fields, a comma separated list of options should be entered. Disabled options are included. |