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

Update a project

Updates a project. Only non null values sent in JSON will be updated in the project. Values available for the assigneeType field are: “PROJECT_LEAD” and “UNASSIGNED”.

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

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

Path parameters
projectIdOrKeystringrequired

Project id or project key

Query parameters
expandstring

Parameters to expand

Request body
requiredapplication/json

Project update data

assigneeTypestring
Allowed:PROJECT_LEADUNASSIGNED
avatarIdinteger<int64>
categoryIdinteger<int64>
descriptionstring
issueSecuritySchemeinteger<int64>
keystring
leadstring
namestring
notificationSchemeinteger<int64>
permissionSchemeinteger<int64>
projectTemplateKeystring
projectTypeKeystring
urlstring
Responses
200

Updated project data

archivedboolean
avatarUrlsobject
descriptionstring
idstring
keystring
namestring
selfstring<uri>
400

Returned if the request is not valid and the project could not be updated

401

Returned if the user is not authenticated

403

Returned if the user does not have rights to update projects

404

Returned if the project does not exist

Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PUT 'http://jira.example.com/rest/api/2/project/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "assigneeType": "PROJECT_LEAD",
  "avatarId": 10200,
  "categoryId": 10120,
  "description": "Example Project description",
  "issueSecurityScheme": 10001,
  "key": "EX",
  "lead": "Charlie",
  "name": "Example",
  "notificationScheme": 10021,
  "permissionScheme": 10011,
  "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-project-management",
  "projectTypeKey": "business",
  "url": "http://atlassian.com"
}'
Response
{
  "archived": false,
  "avatarUrls": "http://www.example.com/jira/secure/projectavatar?size=xsmall&pid=10000",
  "description": "Example",
  "id": "10000",
  "key": "EX",
  "name": "Example",
  "self": "http://www.example.com/jira/rest/api/2/project/EX"
}

Was this page helpful?