Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

admAddCustomFieldOption(option, fieldName[, projectKey, issueType])

Description

Excerpt

Add Adds a new custom field option to options list for the specified context. If the context does not exist, it will be created.

...

Parameter name

Type

Required

Description

option

string

Yes

The option Option to add.

fieldNamestringYesThe name Name of the custom field.
projectKeystringNoThe project Project key.
issueTypestringNoThe issue Issue type.

Return type

boolean (true/false)

Returns 'true' if the option was added successfully , and 'false' otherwise. If returned 'false' check the log for a detailed reason on why it failed.

...