Milestone Templates
The API has the ability to create a milestone from an existing template. It does not have the ability to create a milestone template through the API. That must be completed through the UI.
Get a list of milestone templates
Milestone templates must be created through the UI. However, the list of available templates may be retrieved through the API. The API will return a list of templates, each having a unique ID. This ID is will be used to create a milestone from this template.
GET /v1/milestones/templates
{
"totalCount": 0,
"items": [
{
"id": "",
"resourceType": "v1:MilestoneTemplate"
"details": {
"name": ""
}
}
]
}
Use the template to create a new milestone
Create a milestone with the following Json. The template ID will be specified in the milestoneTemplate field.
{
"title": "",
"startDate": "",
"dueDate": "",
"description": "",
"dependsOnMilestoneId": "",
"reminders": [
""
],
"customFields": [
{
"fieldApiId": "",
"value": ""
}
],
"milestoneTemplate: ""
}