jira.js
    Preparing search index...

    Function getDraftWorkflow

    • Returns the workflow-issue type mappings for a workflow scheme's draft.

      Permissions required: Administer Jira global permission.

      Parameters

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

          The ID of the workflow scheme that the draft belongs to.

        • OptionalworkflowName?: string

          The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              defaultMapping?: boolean;
              issueTypes?: string[];
              updateDraftIfNeeded?: boolean;
              workflow?: string;
              [key: string]: unknown;
          },
      >