jira.js
    Preparing search index...

    Function getAssignedPermissionScheme

    • Gets a permission scheme assigned with a project

      Parameters

      • client: Client
      • parameters: { expand?: string | string[]; projectKeyOrId: string }
        • Optionalexpand?: string | string[]

          Use expand to include additional information about permission schemes in the response. This parameter accepts a comma-separated list of expandable options. Expand options include: all and field.

        • projectKeyOrId: string

          Key or id of the project

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              description?: string;
              expand?: string;
              id?: number;
              name?: string;
              permissions?: {
                  holder?: {
                      expand?: string;
                      field?: {
                          clauseNames?: (...)[];
                          custom?: boolean;
                          id?: string;
                          name?: string;
                          navigable?: boolean;
                          orderable?: boolean;
                          schema?: {
                              custom?: ...;
                              customId?: ...;
                              items?: ...;
                              system?: ...;
                              type?: ...;
                              [key: ...]: ...;
                          };
                          searchable?: boolean;
                          [key: string]: unknown;
                      };
                      group?: { name?: string; self?: string; [key: string]: unknown };
                      parameter?: string;
                      projectRole?: {
                          actors?: (...)[];
                          description?: string;
                          id?: number;
                          name?: string;
                          self?: string;
                          [key: string]: unknown;
                      };
                      type?: string;
                      user?: {
                          active?: boolean;
                          avatarUrls?: Record<(...), (...)>;
                          displayName?: string;
                          emailAddress?: string;
                          key?: string;
                          name?: string;
                          self?: string;
                          timeZone?: string;
                          [key: string]: unknown;
                      };
                      [key: string]: unknown;
                  };
                  id?: number;
                  permission?: string;
                  self?: string;
                  [key: string]: unknown;
              }[];
              self?: string;
              [key: string]: unknown;
          },
      >