jira.js
    Preparing search index...

    Function getPermissionSchemes

    • Returns a list of all permission schemes. By default only shortened beans are returned. If you want to include permissions of all the schemes, then specify the permissions expand parameter. Permissions will be included also if you specify any other expand parameter.

      Parameters

      • client: Client
      • Optionalparameters: { expand?: string | string[] }
        • 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.

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              permissionSchemes?: {
                  description?: string;
                  expand?: string;
                  id?: number;
                  name?: string;
                  permissions?: {
                      holder?: {
                          expand?: (...)
                          | (...);
                          field?: (...) | (...);
                          group?: (...) | (...);
                          parameter?: (...) | (...);
                          projectRole?: (...) | (...);
                          type?: (...) | (...);
                          user?: (...) | (...);
                          [key: string]: unknown;
                      };
                      id?: number;
                      permission?: string;
                      self?: string;
                      [key: string]: unknown;
                  }[];
                  self?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >