jira.js
    Preparing search index...

    Function updatePriorityScheme

    • Updates a priority scheme. Update will be rejected if issue migration would be needed as a result of scheme update. Priority scheme update with migration is possible from the UI.

      Parameters

      • client: Client
      • parameters: {
            defaultOptionId?: string;
            description?: string;
            id?: number;
            name?: string;
            optionIds?: string[];
            schemeId: number;
        }
        • OptionaldefaultOptionId?: string
        • Optionaldescription?: string
        • Optionalid?: number
        • Optionalname?: string
        • OptionaloptionIds?: string[]
        • schemeId: number

          Id of the priority scheme to update

      • Optionaloptions: RequestOptions

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