jira.js
    Preparing search index...

    Function deleteWorkflowMapping

    • Deletes the workflow-issue type mapping for a workflow in a workflow scheme.

      Note that active workflow schemes cannot be edited. If the workflow scheme is active, set updateDraftIfNeeded to true and a draft workflow scheme is created or updated with the workflow-issue type mapping deleted. The draft workflow scheme can be published in Jira.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: { id: number; updateDraftIfNeeded?: boolean; workflowName: string }
        • id: number

          The ID of the workflow scheme.

        • OptionalupdateDraftIfNeeded?: boolean

          Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults to false.

        • workflowName: string

          The name of the workflow.

      • Optionaloptions: RequestOptions

      Returns Promise<void>