Skip to end of banner
Go to start of banner

admDeleteCustomFieldOptions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

Deletes options with the provided ids from the custom field. This routine only handles custom fields of the following types: single select, multi select, radio buttons and checkboxes.

Parameters

Return Type

boolean

The returned value has no meaning.

Example

Example

Deletes the option with id 10080 from checkbox custom field, using the context for project with key TP and issue types Bug and Task.

JProjectIssueTypes[] projectIssueTypesNames;
JProjectIssueTypes map;
map.projectKey = "TP";
map.issueTypesNames = {"Task", "Bug"};
projectIssueTypesNames = arrayAddElement(projectIssueTypesNames, map);
return admDeleteCustomFieldOptions("checkbox", "10080", projectIssueTypesNames);

See also

  • No labels