Function: deleteIssueType()
ts
function deleteIssueType(
client,
parameters,
options?
): Promise<void>;Defined in: src/cloud/api/issueTypes.ts:123
Deletes the issue type. If the issue type is in use, all uses are updated with the alternative issue type (alternativeIssueTypeId). A list of alternative issue types are obtained from the Get alternative issue types resource.
Permissions required:Administer Jira global permission.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { alternativeIssueTypeId?: string; id: string; } | - |
parameters.alternativeIssueTypeId? | string | The ID of the replacement issue type. |
parameters.id? | string | The ID of the issue type. |
options? | RequestOptions | - |
Returns
Promise<void>