获取效能洞察中指定企业的workitem_status表 join worktem_defect_extra表数据
接口说明
效能洞察数据导出 API 仅面向高级版客户开放,了解云效高级版功能,请前往 https://help.aliyun.com/document_detail/173288.html
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
POST /organization/{organizationId}/data/workitemStatusJoinWorkitemDefectExtras
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
organizationId | string | 是 | 企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/#{organizationId} | 61db9af2148974246bexxxx |
body | object | 否 | 请求 body | |
startTime | string | 是 | 开始时间。和结束时间间隔不超过 1 年。 | 2024-05-01 00:00:00 |
endTime | string | 是 | 结束时间。和开始时间间隔不超过 1 年。 | 2024-06-01 00:00:00 |
nextToken | string | 否 | 下一页 token | 1 |
maxResults | long | 否 | 最大结果条数 | 10 |
返回参数
示例
正常返回示例
JSON
格式
{
"totalCount": 100,
"nextToken": "2",
"maxResults": 10,
"result": [
{
"id": 701615370,
"gmtCreate": 1713430241000,
"gmtModified": 1714755985000,
"workitemId": "636f661a612a945bbcdb4cxxxx",
"isDeleted": "N",
"organizationId": "61db9af2148974246bexxxx",
"assignedToId": "65e836b981d758be7a25xxxx",
"creatorId": "65e836b981d758be7a25xxxx",
"gmtClosed": 33166339200000,
"gmtTodo": 33166339200000,
"gmtDue": 33166339200000,
"gmtStart": 33166339200000,
"isArchived": "N",
"isDone": "Y",
"parentId": "a80a203a9078a7a1b1f2c6xxxx",
"participantIds": "6135b21fb383ef39551cf02e,63466a385dc8531eebd764e9",
"phase": 10,
"stage": 10,
"priority": 2,
"productId": "无",
"projectId": "6732a29d846bf998dc09e7xxxx",
"source": "projex",
"sprintId": "731c83a40bbf3c2f080e07xxxx",
"status": "待处理",
"statusId": "100005",
"storyPoint": 10,
"subject": "测试",
"type": 1,
"subType": "9uy29901re573f561d69xxxx",
"versionId": "无",
"workTime": 10,
"expectedWorkTime": 10,
"versions": "{6a8cdda167415bea1506c7262c}\n",
"extraId": 123,
"foundPhase": 10,
"gmtFixed": "无",
"isStupid": "无",
"reopenNum": 0,
"seriousLevel": 0,
"solution": "无",
"extraIsDeleted": "N",
"verifierId": "65e836b981d758be7a25xxxx",
"serialNumber": 66
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|---|---|
2024-08-02 | OpenAPI 返回结构发生变更 | 查看变更详情 |