jira.js
    Preparing search index...

    Function getPermissionSchemeGrant

    • Returns a permission grant identified by the given id.

      Parameters

      • client: Client
      • parameters: { expand?: string | string[]; permissionId: number; schemeId: number }
        • Optionalexpand?: string | string[]

          Use expand to include full beans in the response. This parameter accepts a comma-separated list of expandable elements. Use 'permissions' to include permissions in the response.

        • permissionId: number

          The id of the permission grant.

        • schemeId: number

          The id of the permission scheme.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              holder?: {
                  expand?: string;
                  field?: {
                      clauseNames?: string[];
                      custom?: boolean;
                      id?: string;
                      name?: string;
                      navigable?: boolean;
                      orderable?: boolean;
                      schema?: {
                          custom?: string;
                          customId?: number;
                          items?: string;
                          system?: string;
                          type?: string;
                          [key: string]: unknown;
                      };
                      searchable?: boolean;
                      [key: string]: unknown;
                  };
                  group?: { name?: string; self?: string; [key: string]: unknown };
                  parameter?: string;
                  projectRole?: {
                      actors?: {
                          avatarUrl?: string;
                          name?: string;
                          [key: string]: unknown;
                      }[];
                      description?: string;
                      id?: number;
                      name?: string;
                      self?: string;
                      [key: string]: unknown;
                  };
                  type?: string;
                  user?: {
                      active?: boolean;
                      avatarUrls?: Record<string, string>;
                      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;
          },
      >