Add a New Project
POST {{baseUrl}}/admin/projects?fields=id,shortName,name,leader(id,login,name)
When creating a new project, you must provide project's name, short name, and the project leader. Other attributes are optional. To create a project that is based on a template, like Scrum or Kanban, you need to add template query parameter to the endpoint URL.
Put the ID of the project leader into the sampleUser variable or replace the variable with the project ID in the request body.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
fields | string |
Request Body
{"description"=>"A new project created from the REST API", "name"=>"GRA Project", "shortName"=>"GRP", "leader"=>{"id"=>"{{userID}}"}}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string |