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 | admRenameCustomFieldOption(customFieldId, oldValue, newValue, projectKeys, issueTypes) | Package | adm | Alias | | Pkg Usage | renameCustomFieldOption(customFieldId, oldValue, newValue, projectKeys, issueTypes) |
|
Description
Excerpt |
---|
|
Renames a custom field option for the specified context. |
Renames a custom field option for the specified context. If the project keys and issue types are not specified (empty arrays), the global context is the one affected by the renaming. This routine only handles the following custom fields types: single select, multi select, radio buttons, check boxes.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
customFieldId | String | Yes | Custom field ID. | oldValue | String | Yes | The value of the option to be renamed. | newValue | String | Yes | The new value of the option. | projectKeys | String [] | No | Project keys. | issueTypes | String [] | No | Issue types. |
|
Return Type
Boolean (true/false)
Returns ‘true’ if the option was successfully renamed and ‘false’ otherwise. If ‘false’ is returned, check the log for a detailed report on why it failed.
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "customfield_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|