Skip to content

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 ​

ParameterTypeDescription
clientClient-
parameters{ currentMember?: boolean; excludeConnectAddons?: boolean; excludeOtherServiceRoles?: boolean; projectIdOrKey: string; }-
parameters.currentMember?booleanWhether the roles should be filtered to include only those the user is assigned to.
parameters.excludeConnectAddons?boolean-
parameters.excludeOtherServiceRoles?booleanDo not return the default JSM company-managed space from CSM spaces, or the default CSM roles from JSM spaces.
parameters.projectIdOrKey?stringThe project ID or project key (case sensitive).
options?RequestOptions-

Returns ​

Promise<object[]>