Create Milestone
Suitable Enviroment | SaaS |
Private Deployment |
Requirements
ONES |
---|
v6.13.0+ |
Payload
EventData
Field | Type | Description |
---|---|---|
id | string | Milestone ID |
projectID | string | Project ID that the milestone belongs to |
basicInfoChanges | Map<string, BasicInfoChanges> | Basic milestone information |
basicInfoChanges
Field | Type | Description |
---|---|---|
assign | object | Milestone assignee |
description | object | Milestone description |
endTime | object | Milestone end date |
isComplete | object | Completion status |
name | object | Milestone name |
owner | object | Milestone owner |
assign (Milestone Assignee)
Field | Type | Description |
---|---|---|
newValue | string | Milestone assignee ID |
description (Milestone Description)
Field | Type | Description |
---|---|---|
newValue | string | Milestone description |
endTime (Milestone End Date)
Field | Type | Description |
---|---|---|
newValue | string | End date |
isComplete (Completion Status)
Field | Type | Description |
---|---|---|
newValue | boolean | Completion status |
name (Milestone Name)
Field | Type | Description |
---|---|---|
newValue | string | Milestone name |
owner (Milestone Owner)
Field | Type | Description |
---|---|---|
newValue | string | Milestone owner ID |
示例
{
"eventType": "ones:project:ppm-milestone:created",
"eventID": "1892062606877962240",
"timestamp": 1739937852953,
"eventContext": {
"organizationID": "AJ9QkodJ",
"teamID": "YKpfWBP3",
"triggerUserID": "VLYeunBY"
},
"eventSubscriber": {
"subscriberID": "2RJtSu4a",
"clientID": "vYZZUH6y"
},
"eventData": {
"basicInfoChanges": {
"assign": {
"newValue": "VLYeunBY"
},
"description": {
"newValue": "<p>呃呃</p>\n"
},
"endTime": {
"newValue": "2025-02-19"
},
"isComplete": {
"newValue": false
},
"name": {
"newValue": "asdf"
},
"owner": {
"newValue": "VLYeunBY"
}
},
"id": "DiEZ5A5z",
"projectID": "VLYeunBY7sUqC47y"
}
}