jira.js
    Preparing search index...

    Function unassignPriorityScheme

    • Unassigns project from priority scheme. Operation will fail for defualt priority scheme, project is not found or project is not associated with provided priority 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: { projectKeyOrId: string; schemeId: number }
        • projectKeyOrId: string

          Key or id of the project

        • schemeId: number

          Object that contains an id of the scheme

      • Optionaloptions: RequestOptions

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