Skip to content

Function: deleteInactiveWorkflow() ​

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

Defined in: src/cloud/api/workflows.ts:123

Deletes a workflow.

The workflow cannot be deleted if it is:

  • An active workflow.
  • A system workflow.
  • Associated with any workflow scheme.
  • Associated with any draft workflow scheme.

Permissions required:Administer Jira global permission.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ entityId: string; }-
parameters.entityIdstringThe entity ID of the workflow.
options?RequestOptions-

Returns ​

Promise<void>