Versions Compared

Key

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

This routine is available starting with

  • Power Scripts 2.5.2 (server)
  • SIL Engine™ (former katl-commons) 2.5.3

Syntax

lfRestrictSelectOptions(field, options, [triggerChange]);

...

Excerpt
Restricts certain options from the list of options for the field.

Parameters

ParameterTypeRequiredDescription
fieldStringYesField to restrict options for
options

String

YesList of options to restrict
triggerChangeBooleanNoIf set to true, it triggers the change event on the field when routine is used.
Available starting with v. 2.5.6 for Jira 5.x and v. 2.6.1 for Jira 6.x.

...