jira.js
    Preparing search index...

    Function deleteComponent

    • 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

      • client: Client
      • parameters: { id: string; moveIssuesTo?: string }
        • id: string

          The ID of the component.

        • OptionalmoveIssuesTo?: string

          The ID of the component to replace the deleted component. If this value is null no replacement is made.

      • Optionaloptions: RequestOptions

      Returns Promise<void>