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

Update project category

Modify a project category.

PUT/api/2/projectCategory/{id}
Authorization
AuthorizationBasic auth · headerrequired

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

Path parameters
idinteger<int64>required

Id of the project category to modify.

Request body
requiredapplication/json

The project category to modify.

descriptionstring
idstring
namestring
selfstring<uri>
Responses
200

Returned if the project category exists and the currently authenticated user has permission to edit it.

descriptionstring
idstring
namestring
selfstring
401

Returned if the caller is not logged in so does not have permission to change project categories.

403

Returned if the caller is authenticated and does not have permission to change project categories (is not global admin).

404

Returned if the project category does not exist or the currently authenticated user does not have permission to view it.

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/projectCategory/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "description": "First Project Category",
  "id": "10000",
  "name": "FIRST",
  "self": "http://www.example.com/jira/rest/api/2/projectCategory/10000"
}'
Response
{
  "description": "This is a project category",
  "id": "10000",
  "name": "My Project Category",
  "self": "http://www.example.com/jira/rest/api/2/projectCategory/10000"
}

Was this page helpful?