Info | ||
---|---|---|
| ||
This routine is available starting with katl-commons SIL Engine™ 2.5.19 / 2.6.11. |
Syntax
admCreateCustomField(fieldName, description, fieldType, fieldSearcher, projects, issueTypes)
...
Excerpt |
---|
Creates a new custom field, offering support also for setting its context and searcher. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
fieldName | string | yes | Custom field name. |
description | string | yes | Custom field description (can be blank). |
fieldType | string | yes | Custom field type (either key or name). |
fieldSearcher | string | yes | Custom field searcher (either key or name). If blank, the default custom field searcher for the given type will be considered. |
projects | string[] | yes | Projects context (project keys). If empty, global issue context will be considered. |
issueTypes | string[] | yes | Issue types context (either names or ids). If empty, all issue types will be considered. |
Return type
string
Returns the string id (customfield_xxxxx) of the newly created custom field.
...