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 | admGetCustomFieldOptions(fieldName, projectKeys, issueTypes) | Package | adm | Alias | | Pkg Usage | getCFOptions(fieldName, projectKeys, issueTypes) |
|
Description
Excerpt |
---|
|
Retrieves the option list of a custom field for the specified context (projects and issue types). |
Retrieves the option list of a custom field for the specified context (projects and issue types).
...
Each option will reside on a separate line. In case of cascade selects, the child options will be prefixed with a space character.
The new lineseparator is system dependent (where the system can be Windows, Mac or Linux. The line separator can be either '\n', '\r' or '\r\n'. This routine only handles custom fields of the following types: single select, multi select, radio buttons, checkboxes and cascading selects.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
fieldName | String | Yes | Name of custom field. | projectKeys | StringĀ [] | No | Project keys. | issueTypes | StringĀ [] | No | Issue types. |
|
Return Type
String
Returns a string representing the options of the specified custom field.
...
Code Block |
---|
<ac:structured-macro ac:name="code" ac:schema-version="1"><ac:plain-text-body>Option 1
Option 2
Option 3</ac:plain-text-body></ac:structured-macro> |
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 |
---|
|