Versions Compared

Key

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

...

Parameter name

Type

Required

Description

option

string

Yes

The option Option to be deleted.

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 deleted successfully , and 'false' otherwise. If returned 'false' check the log for a detailed reason on why it failed.

Example

Example 1

Delete Deletes the "Option" from the global context of custom field "Select List".

Code Block
admDeleteCustomFieldOption("Option", "Select List");


Example 2

Delete Deletes the "Option" from custom field "Select List" with context for project "TEST" and issue type "Task".

...