Versions Compared

Key

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

...

lfSet(field, value, [triggerChange]);

Description

Excerpt
Sets the field with the given values.

This sets the value in the screen only. It does not set the value on the issue (setting it on the issue require direct access to the field)

Parameters

ParameterTypeRequiredDescription
fieldStringYesThe field to set the value for.
value

String

YesThe value to set. It can be a string value or an array with string values.
triggerChangeBooleanNoIf set to true, triggers the change event when lfSet is used on a field. Available since v. 2.5.6 for Jira 5.x and v. 2.6.1 for Jira 6.x.

Examples

The following code example sets the priority standard field as Major.

...

You can’t set fields that are not editable. For example, on the issue view screen you can’t set  status or resolution fields.

See Also:

Filter by label (Content by label)
max35
cqllabel = "live_fields_routines"