jira.js
    Preparing search index...

    Function getWorkflow

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

      Permissions required: Administer Jira global permission.

      Parameters

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

          The ID of the workflow scheme.

        • OptionalreturnDraftIfExists?: boolean

          Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.

        • 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;
          },
      >