Function: getSecurityLevelsForProject()
ts
function getSecurityLevelsForProject(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
levels: object[];
}>;Defined in: src/cloud/api/projectPermissionSchemes.ts:99
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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { projectKeyOrId: string; } | - |
parameters.projectKeyOrId | string | The project ID or project key (case sensitive). |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; levels: object[]; }>