Update 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 |
assign (Milestone Assignee)
Field | Type | Description |
---|---|---|
oldValue | string | Original milestone assignee ID |
newValue | string | New milestone assignee ID |
description (Milestone Description)
Field | Type | Description |
---|---|---|
oldValue | string | Original milestone description |
newValue | string | New milestone description |
endTime (Milestone End Date)
Field | Type | Description |
---|---|---|
oldValue | string | Original end date |
newValue | string | New end date |
isComplete (Completion Status)
Field | Type | Description |
---|---|---|
oldValue | boolean | Original completion status |
newValue | boolean | New completion status |
name (Milestone Name)
Field | Type | Description |
---|---|---|
oldValue | string | Original milestone name |
newValue | string | New milestone name |
示例
{
"eventID": "1892489366114693120",
"eventType": "ones:project:ppm-milestone:updated",
"timestamp": 1740039600284,
"eventContext": {
"organizationID": "AJ9QkodJ",
"teamID": "YKpfWBP3",
"triggerUserID": "VLYeunBY"
},
"eventData": {
"basicInfoChanges": {
"assign": {
"newValue": "6xDX2PV3",
"oldValue": "VLYeunBY"
},
"description": {
"newValue": "\u003cp\u003e我是描述\u003c/p\u003e\n",
"oldValue": "\u003cp\u003e呃呃adsf\u003c/p\u003e\n"
},
"endTime": {
"newValue": "2025-02-22",
"oldValue": "2025-02-21"
},
"isComplete": {
"newValue": true,
"oldValue": false
},
"name": {
"newValue": "鹅鹅鹅",
"oldValue": "asdf2223"
}
},
"id": "DiEZ5A5z",
"projectID": "VLYeunBY7sUqC47y"
},
"eventSubscriber": {
"subscriberID": "2RJtSu4a",
"clientID": "vYZZUH6y"
}
}