This routine is available starting with SIL Engine™ 4.0.4.
admDeleteCustomFieldOption(option, fieldName[, projectKey, issueType])
Delete an option from the options list for the specified context. If the project key and issue type are not specified, the option will be deleted from the global context.
This routine only handles custom fields of the following types: single select, multi select, radio buttons and checkboxes (otherwise throws an exception).
This routine does not delete the context, it only deletes the specified option.
Option to be deleted.
|fieldName||string||Yes||Name of custom field.|
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.
Deletes the "Option" from the global context of custom field "Select List".
Deletes the "Option" from custom field "Select List" with context for project "TEST" and issue type "Task".