v4

OpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Project roles

Fully update project role

Updates the project role's name and description. You must include both a name and a description in the request.

Permissions required: Administer Jira global permission.

put/rest/api/3/role/{id}

Path parameters

idinteger required

The ID of the project role. Use Get all project roles to get a list of project role IDs.

Request body

descriptionstring

A description of the project role. Required when fully updating a project role. Optional when creating or partially updating a project role.

namestring

The name of the project role. Must be unique. Cannot begin or end with whitespace. The maximum length is 255 characters. Required when creating a project role. Optional when partially updating a project role.

Response

Returned if the request is successful.

adminboolean

Whether this role is the admin role for the project.

currentUserRoleboolean

Whether the calling user is part of this role.

defaultboolean

Whether this role is the default role for the project

descriptionstring

The description of the project role.

idinteger

The ID of the project role.

namestring

The name of the project role.

roleConfigurableboolean

Whether the roles are configurable for this project.

selfstring uri

The URL the project role details.

translatedNamestring

The translated name of the project role.