Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admGetCustomFieldOptions(fieldName, projectKeys, issueTypes)

Package

adm

Alias

Pkg Usage

getCFOptions(fieldName, projectKeys, issueTypes)

Description

Excerpt
hiddentrue
Retrieves the option list of a custom field for the specified context (projects and issue types).

...

Possible result as a string:

Code Block
<ac:structured-macro ac:name="code" ac:schema-version="1"><ac:plain-text-body>Parent option 1
 Child option 1
 Child option 2
Parent option 2
 Child option 1
 Child option 2</ac:plain-text-body></ac:structured-macro>

Example 2

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
<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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "customfield_admin_routine" and space = currentSpace ( )
labelsarray_routines