Skip to content

Function: deleteComponent() ​

ts
function deleteComponent(
   client, 
   parameters, 
   options?
): Promise<void>;

Defined in: src/cloud/api/projectComponents.ts:150

Deletes a component.

This operation can be accessed anonymously.

Permissions required:Administer projects project permission for the project containing the component or Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: string; moveIssuesTo?: string; }-
parameters.idstringThe ID of the component.
parameters.moveIssuesTo?stringThe ID of the component to replace the deleted component. If this value is null no replacement is made.
options?RequestOptions-

Returns ​

Promise<void>