...
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | lfSet(field, value, [triggerChange]) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Sets the field with the given values. |
Sets the field with the given values.
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
field | String | Yes | The field to set the value for. | value | String | Yes | The value to set. It can be a string value or an array with string values. | triggerChange | Boolean | No | If set to "true", it triggers the change event when lfSet is used on a field. |
|
Return Type
None
Examples
Example 1
...
Code Block |
---|
lfSet("customfield_10000", "updated val", true); |
Note |
---|
You can�t set fields that are uneditable. For example, on the issue view screen you can�t set status or resolution fields. |
Info |
---|
There are certain fields, from the list provided in Fields and graphic elements supported by Live Fields, that you can’t set the value for: Labels, on Edit, Transition, Create screens Estimate (remaining estimate), on Transition screens Votes Watchers
On the view screen, if you want to edit a field the last value saved for that field will be displayed. |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "lf_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|