Skip to main content

Update Milestone

Suitable EnviromentSaaS
Private Deployment

Requirements

ONES
v6.13.0+

Payload

Common Structure

EventData

FieldTypeDescription
idstringMilestone ID
projectIDstringProject ID that the milestone belongs to
basicInfoChangesMap<string, BasicInfoChanges>Basic milestone information

BasicInfoChanges

FieldTypeDescription
assignobjectMilestone assignee
descriptionobjectMilestone description
endTimeobjectMilestone end date
isCompleteobjectCompletion status
nameobjectMilestone name

assign (Milestone Assignee)

FieldTypeDescription
oldValuestringOriginal milestone assignee ID
newValuestringNew milestone assignee ID

description (Milestone Description)

FieldTypeDescription
oldValuestringOriginal milestone description
newValuestringNew milestone description

endTime (Milestone End Date)

FieldTypeDescription
oldValuestringOriginal end date
newValuestringNew end date

isComplete (Completion Status)

FieldTypeDescription
oldValuebooleanOriginal completion status
newValuebooleanNew completion status

name (Milestone Name)

FieldTypeDescription
oldValuestringOriginal milestone name
newValuestringNew 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"
}
}