Versions Compared

Key

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

...

Info
titleAvailability

This routine is available since starting with katl-commons 2.5.19 / 2.6.11.

Syntax

...

admAddCustomFieldAlias(customField, alias)

Description

...

Excerpt

Adds a custom field alias in the sil.aliases file.

Parameters

...

Parameter name

Type

Required

Description

customFieldstringyesThe custom field string id, name or existing alias
aliasstringyesThe new custom field alias to set

Return type

...

boolean

True if the custom field alias was added successfully in the sil.aliases file or already exists, false otherwise.

Example

...

Example 1

...

Setting a custom field alias using custom field id:

Code Block
admAddCustomFieldAlias("customfield_10000", "TestAlias");

Example 2

...

Setting a custom field alias using custom field name:

Code Block
admAddCustomFieldAlias("Text Field", "TestAlias");

See

...

also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "jira_field_routine"
labelsjira_field_routine