Warning |
---|
Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here ! |
Info | ||
---|---|---|
| ||
This routine is available since katl-commons starting with SIL Engine™ 2.5.19 / 2.6.11. |
...
This routine is available for Jira server and cloud deployment options. |
Syntax
admAddCustomFieldAlias(customField, alias)
Description
...
Excerpt |
---|
Adds a custom field alias in the sil.aliases file. |
Parameters
...
Parameter name | Type | Required | Description |
---|---|---|---|
customField | string | yes |
Custom field string id, name or existing alias. | ||
alias | string | yes |
New custom field alias to set. |
Return type
...
boolean
True Returns 'true' if the custom field alias was added successfully in the sil.aliases file or already exists , and '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) | ||||||||
---|---|---|---|---|---|---|---|---|
|