jira.js
    Preparing search index...

    Function getWorkflowSchemeIssueType

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

      Permissions required: Administer Jira global permission.

      Parameters

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

          The ID of the workflow scheme.

        • issueType: string

          The ID of the issue type.

        • 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.

      • Optionaloptions: RequestOptions

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