...
...
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 starting with SIL Engine™ 4.6.3. |
Syntax
admGetCustomFieldOptions(fieldName, projectKeys, issueTypes)
...
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 line separator 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.
...
Get the options of the "CF_CASCADE" custom field, using the global context.
Possible result as a string:
Code Block |
---|
Parent option 1
Child option 1
Child option 2
Parent option 2
Child option 1
Child option 2
|
Example 2
Code Block |
---|
admGetCustomFieldOptions("CF_SELECT", {"PRJ1", "PRJ2"}, {"Bug", "Task"}); |
Get the options of the "CF_SELECT" custom field, using the context for projects "PRJ1" and "PRJ2" and issue types "Bug" and "Task".
Possible result as a string:
Code Block |
---|
Option 1
Option 2
Option 3 |
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|
...