Function: getAllPermissions()
ts
function getAllPermissions(client, options?): Promise<{
[key: string]: unknown;
permissions?: Record<string, {
[key: string]: unknown;
description?: string;
id?: string;
key?: string;
name?: string;
type?: string & object | "PROJECT" | "GLOBAL";
}>;
}>;Defined in: src/server/api/permissions.ts:31
Returns all permissions that are present in the Jira instance - Global, Project and the global ones added by plugins
Parameters
| Parameter | Type |
|---|---|
client | Client |
options? | RequestOptions |
Returns
Promise<{ [key: string]: unknown; permissions?: Record<string, { [key: string]: unknown; description?: string; id?: string; key?: string; name?: string; type?: string & object | "PROJECT" | "GLOBAL"; }>; }>