Contents
Add Version/Milestone
Adds new Version/Milestone to the project.
Role
Administrator
Normal User
Method
POST
URL
/api/v2/projects/:projectIdOrKey/versions
URL parameters
| Parameter Name | Type | Description |
|---|---|---|
| projectIdOrKey | String | Project ID or Project Key |
Form parameters
Content-Type:application/x-www-form-urlencoded
| Parameter Name | Type | Description |
|---|---|---|
| name (Required) | String | Version name |
| description | String | Version description |
| startDate | String | Start Date (yyyy-MM-dd) |
| releaseDueDate | String | End Date (yyyy-MM-dd) |
Response example
Status Line / Response Header
HTTP/1.1 200 OK
Content-Type:application/json;charset=utf-8
Response Body
{
"id": 3,
"projectId": 1,
"name": "wait for release",
"description": "",
"startDate": null,
"releaseDueDate": null,
"archived": false,
"displayOrder": 0
}