Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Selectable fields are fields with a limited domain or a 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

Status
titlefield

Returns the 

Status
colourBlue
titlenumber
of selected items in select or multiselect field with field code %{...somefield}.

numberOfAvailableItems(%{...somefield}) : number

Status
titlefield

Returns the 

Status
colourBlue
titlenumber
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

Status
titlefield

Returns a 

Status
subtletrue
colourYellow
titleString []
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

Status
titlefield

Returns a

Status
subtletrue
colourYellow
titleString []
 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

Status
titlefield

Returns a 

Status
subtletrue
colourYellow
titleString []
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

Status
titlefield

Returns a 

Status
subtletrue
colourYellow
titleString []
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.



Div
styleline-height: 150%;
idtocContainer
classtocContainer


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel3
minLevel2
indent20px
classp