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

Create a new project

Creates a new project

POST/api/2/project
Authorization
AuthorizationBasic auth · headerrequired

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

Request body
requiredapplication/json

Project data

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

Created project data

idinteger<int64>
keystring
selfstring<uri>
400

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

401

Returned if the user is not authenticated

403

Returned if the user does not have rights to create projects

409

Returned if requested workflowScheme could not be assigned to created project

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://jira.example.com/rest/api/2/project' \
  -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",
  "workflowSchemeId": 10031
}'
Response
{
  "id": 10010,
  "key": "EX",
  "self": "http://example/jira/rest/api/2/project/10042"
}

Was this page helpful?