🚀 Effective since April 2020 and JWT version 2.9.0 Automation Toolbox for Jira is fully integrated into our top rated app Jira Workflow Toolbox (JWT)🚀

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

FunctionInputReturned 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 count(availableItems(%{...somefield})) . Disabled options are discarded.

availableItems(%{...somefield}) : string list

FIELD

Returns a STRING [] with available options in select or multiselect field with field code %{...somefield}. Disabled options are discarded.
Example: availableItems(%{00103}) returns a string list with all security levels available for the project and current user.

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.
Example: availableItems(%{00103}) returns a string list with all security levels available for the project and current user.

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.

On this page