jira.js
    Preparing search index...

    Function getSecurityLevelsForProject

    • Returns all issue security levels for the project that the user has access to.

      This operation can be accessed anonymously.

      Permissions required: Browse projects global permission for the project, however, issue security levels are only returned for authenticated user with Set Issue Security global permission for the project.

      Parameters

      • client: Client
      • parameters: { projectKeyOrId: string }
        • projectKeyOrId: string

          The project ID or project key (case sensitive).

      • Optionaloptions: RequestOptions

      Returns Promise<
          {
              levels: {
                  description?: string;
                  id?: string;
                  isDefault?: boolean;
                  issueSecuritySchemeId?: string;
                  name?: string;
                  self?: string;
                  [key: string]: unknown;
              }[];
              [key: string]: unknown;
          },
      >