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

Update project type

Updates the type of a project

PUT/api/2/project/{projectIdOrKey}/type/{newProjectTypeKey}
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

newProjectTypeKeystringrequired

The key of the new project type

Responses
200

Updated project data

archivedboolean
avatarUrlsobject
descriptionstring
idstring
keystring
namestring
selfstring<uri>
400

Returned if the request is not valid and the project type 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
Request
curl -X PUT 'http://jira.example.com/rest/api/2/project/string/type/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
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?