Creates a new project milestone.

<Check title="Required Permissions" icon="key">The user must either be admin, have 'project-planning-data:write' permissions on the project or be the creator.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The model containing milestone details.
namestringRequired0-255 characters
The name of the milestone.
colorstringRequired0-14 characters
The color of the milestone.
dueDatedatetimeRequired
The date the milestone is due.
projectIdstringRequiredformat: "uuid"
The id of the project the milestone is related to.

Response

OK
namestring0-255 characters
The name of the milestone.
colorstring0-14 characters
The color of the milestone.
dueDatedatetime
The date the milestone is due.
projectIdstringformat: "uuid"
The id of the project the milestone is related to.
idstring or nullformat: "uuid"
projectobject or null

/// This class contains all information to handle projects.

createdOndatetime or null
The date this entity was created.
createdBystring or nullformat: "uuid"
The id of the user who created this entity.
updatedOndatetime or null
The date this entity was last modified.
updatedBystring or nullformat: "uuid"
The id of the user who last modified this entity.

Errors