jira.js
    Preparing search index...

    Function getPermissionSchemeGrant

    • Returns a permission grant.

      Permissions required: Permission to access Jira.

      Parameters

      • client: Client
      • parameters: {
            expand?:
                | string
                | string[]
                | string & {}
                | (
                    | "all"
                    | "user"
                    | "group"
                    | "field"
                    | string & {}
                    | "permissions"
                    | "projectRole"
                )[];
            permissionId: number;
            schemeId: number;
        }
        • Optionalexpand?:
              | string
              | string[]
              | string & {}
              | (
                  | "all"
                  | "user"
                  | "group"
                  | "field"
                  | string & {}
                  | "permissions"
                  | "projectRole"
              )[]

          Use expand to include additional information in the response. This parameter accepts a comma-separated list. Note that permissions are always included when you specify any value. Expand options include:

          • all Returns all expandable information.
          • field Returns information about the custom field granted the permission.
          • group Returns information about the group that is granted the permission.
          • permissions Returns all permission grants for each permission scheme.
          • projectRole Returns information about the project role granted the permission.
          • user Returns information about the user who is granted the permission.
        • permissionId: number

          The ID of the permission grant.

        • schemeId: number

          The ID of the permission scheme.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              holder?: {
                  expand?: string;
                  parameter?: string;
                  type: string;
                  value?: string;
                  [key: string]: unknown;
              };
              id?: number;
              permission?: string;
              self?: string;
              [key: string]: unknown;
          },
      >