jira.js
    Preparing search index...

    Function getDraftDefaultWorkflow

    • Returns the default workflow for a workflow scheme's draft. The default workflow is the workflow that is assigned any issue types that have not been mapped to any other workflow. The default workflow has All Unassigned Issue Types listed in its issue types for the workflow scheme in Jira.

      Permissions required: Administer Jira global permission.

      Parameters

      • client: Client
      • parameters: { id: number }
        • id: number

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

      • Optionaloptions: RequestOptions

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