Function: getSecurityLevelsForProject()
ts
function getSecurityLevelsForProject(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
levels?: object[];
}>;Defined in: src/server/api/projects.ts:779
Returns all security levels for the project that the current logged in user has access to. If the user does not have the Set Issue Security permission, the list will be empty.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { projectKeyOrId: string; } | - |
parameters.projectKeyOrId | string | Key or id of project to list the security levels for |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; levels?: object[]; }>