Function: getProjectRoleDetails()
ts
function getProjectRoleDetails(
client,
parameters,
options?
): Promise<object[]>;Defined in: src/cloud/api/projectRoles.ts:87
Returns all project roles and the details for each role. Note that the list of project roles is common to all projects.
This operation can be accessed anonymously.
Permissions required:Administer Jira global permission or Administer projects project permission for the project.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { currentMember?: boolean; excludeConnectAddons?: boolean; excludeOtherServiceRoles?: boolean; projectIdOrKey: string; } | - |
parameters.currentMember? | boolean | Whether the roles should be filtered to include only those the user is assigned to. |
parameters.excludeConnectAddons? | boolean | - |
parameters.excludeOtherServiceRoles? | boolean | Do not return the default JSM company-managed space from CSM spaces, or the default CSM roles from JSM spaces. |
parameters.projectIdOrKey? | string | The project ID or project key (case sensitive). |
options? | RequestOptions | - |
Returns
Promise<object[]>