Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get all roles in project

Returns all roles in the given project Id or key, with links to full details on each role.

GET/api/2/project/{projectIdOrKey}/role
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
projectIdOrKeystringrequired

The project id or project key

Responses
200

List of roles and URIs to full details

404

Returned if the project is not found, or the calling user does not have permission to view it.

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/project/string/role' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
List of roles and URIs to full details

Was this page helpful?