Function: setDefaultShareScope()
ts
function setDefaultShareScope(client, parameters): Promise<{
[key: string]: unknown;
scope: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE";
}>;Defined in: src/cloud/api/filterSharing.ts:33
Sets the default sharing for new filters and dashboards for a user.
Permissions required: Permission to access Jira.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { scope: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"; } | - |
parameters.scope | string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE" | The scope of the default sharing for new filters and dashboards: - AUTHENTICATED Shared with all logged-in users. - GLOBAL Shared with all logged-in users. This shows as AUTHENTICATED in the response. - PRIVATE Not shared with any users. |
Returns
Promise<{ [key: string]: unknown; scope: string & object | "GLOBAL" | "AUTHENTICATED" | "PRIVATE"; }>