jira.js
    Preparing search index...

    Function assignPriorityScheme

    • Assigns project with priority scheme. Priority scheme assign with migration is possible from the UI. Operation will fail if migration is needed as a result of operation eg. there are issues with priorities invalid in the destination scheme. All project keys associated with the priority scheme will only be returned if additional query parameter is provided expand=projectKeys.

      Parameters

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

          Key or id of the project

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              defaultOptionId?: string;
              defaultScheme?: boolean;
              description?: string;
              id?: number;
              name?: string;
              optionIds?: string[];
              projectKeys?: string[];
              self?: string;
              [key: string]: unknown;
          },
      >