Partial Update Project Role

POST {{baseUrl}}/rest/api/3/role/:id

Updates either the project role's name or its description.

You cannot update both the name and description at the same time using this operation. If you send a request with a name and a description only the name is updated.

Permissions required: Administer Jira global permission.

Request Body

{"name"=>"<string>", "description"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;self&quot;:&quot;https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360&quot;,&quot;name&quot;:&quot;Developers&quot;,&quot;id&quot;:10360,&quot;description&quot;:&quot;A project role that represents developers in a project&quot;,&quot;actors&quot;:[{&quot;id&quot;:10240,&quot;displayName&quot;:&quot;jira-developers&quot;,&quot;type&quot;:&quot;atlassian-group-role-actor&quot;,&quot;name&quot;:&quot;jira-developers&quot;,&quot;actorGroup&quot;:{&quot;name&quot;:&quot;jira-developers&quot;,&quot;displayName&quot;:&quot;jira-developers&quot;}},{&quot;id&quot;:10241,&quot;displayName&quot;:&quot;Mia Krystof&quot;,&quot;type&quot;:&quot;atlassian-user-role-actor&quot;,&quot;actorUser&quot;:{&quot;accountId&quot;:&quot;5b10a2844c20165700ede21g&quot;}}],&quot;scope&quot;:{&quot;type&quot;:&quot;PROJECT&quot;,&quot;project&quot;:{&quot;id&quot;:&quot;10000&quot;,&quot;key&quot;:&quot;KEY&quot;,&quot;name&quot;:&quot;Next Gen Project&quot;}}}