跳到主要内容

创建里程碑

适用环境SaaS
私有部署

要求

ONES
v6.13.0+

Payload

通用结构

EventData

字段类型描述
idstring里程碑ID
projectIDstring里程碑所属项目ID
basicInfoChangesMap<string, BasicInfoChanges>里程碑基础信息

basicInfoChanges

字段类型描述
assignobject里程碑负责人
descriptionobject里程碑描述
endTimeobject里程碑结束日期
isCompleteobject是否完成
nameobject里程碑名称
ownerobject里程碑所有者

assign(里程碑负责人)

字段类型描述
newValuestring里程碑负责人 ID

description(里程碑描述)

字段类型描述
newValuestring里程碑描述

endTime(里程碑结束日期)

字段类型描述
newValuestring结束日期

isComplete(是否完成)

字段类型描述
newValueboolean完成状态

name(里程碑名称)

字段类型描述
newValuestring里程碑名称

owner(里程碑所有者)

字段类型描述
newValuestring里程碑所有者 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"
}
}