Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admRenameCustomFieldOption(customFieldId, oldValue, newValue, projectKeys, issueTypes)

Package

adm

Alias

Pkg Usage

renameCustomFieldOption(customFieldId, oldValue, newValue, projectKeys, issueTypes)

Description

Excerpt
hiddentrue

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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfield_admin_routine" and space = currentSpace ( )
labelsarray_routines