ExportInsightWorkitemStatusJoinWorkitemDefectExtra - 导出WorkitemStatus和WorkitemDefectExtra

更新时间:
复制 MD 格式

获取效能洞察中指定企业的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 HTTP/1.1

路径参数

名称

类型

必填

描述

示例值

organizationId

string

是

企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/#{organizationId}

61db9af2148974246bexxxx

请求参数

名称

类型

必填

描述

示例值

body

object

否

请求 body

startTime

string

是

开始时间。和结束时间间隔不超过 1 年,格式为 YYYY-MM-DD HH:mm:ss。

2024-05-01 00:00:00

endTime

string

是

结束时间。和开始时间间隔不超过 1 年,格式为 YYYY-MM-DD HH:mm:ss。

2024-06-01 00:00:00

nextToken

string

否

下一页 token

1

maxResults

integer

否

最大结果条数

10

返回参数

名称

类型

描述

示例值

object

Schema of Response

totalCount

integer

总条数

100

nextToken

string

下一页 token,为 null 表示没有下一页

2

maxResults

integer

返回条数

10

result

array<object>

返回结果

object

workitem_status join workitem_defect_extra

id

integer

记录自增 Id

701615370

gmtCreate

integer

创建时间

1713430241000

gmtModified

integer

更新时间

1714755985000

workitemId

string

需求 ID(工作项 ID)

636f661a612a945bbcdb4cxxxx

isDeleted

string

是否删除(Y|N)

N

organizationId

string

企业 id

61db9af2148974246bexxxx

assignedToId

string

指派人 ID

65e836b981d758be7a25xxxx

creatorId

string

创建人 ID

65e836b981d758be7a25xxxx

gmtClosed

integer

实际关闭时间

33166339200000

gmtTodo

integer

预计开始时间

33166339200000

gmtDue

integer

预计完成时间

33166339200000

gmtStart

integer

实际开始时间(需求排期或确认)

33166339200000

isArchived

string

是否归档(Y|N)

N

isDone

string

是否已完成(Y|N)

Y

parentId

string

父工作项 ID

a80a203a9078a7a1b1f2c6xxxx

participantIds

string

参与人 ID 列表(逗号分隔)

6135b21fb383ef39551cf02e,63466a385dc8531eebd764e9

phase

integer

大阶段(10-100),对应 todo、doing、done

10

stage

integer

小阶段(10-100),对应 projex 的确认阶段、分析阶段、处理阶段、设计阶段、开发阶段等

10

priority

integer

优先级(0-9)

2

productId

string

产品 ID

无

projectId

string

项目 ID

6732a29d846bf998dc09e7xxxx

source

string

来源 teambition/projex

projex

sprintId

string

迭代 ID

731c83a40bbf3c2f080e07xxxx

status

string

状态名称

待处理

statusId

string

状态 id

100005

storyPoint

number

故事点数

10.0

subject

string

标题

测试

type

integer

工作项大类型:需求,任务缺陷

1

subType

string

工作项子类型:技术类需求,产品类需求等

9uy29901re573f561d69xxxx

versionId

string

版本 ID

无

workTime

integer

实际使用工时(分钟)

10

expectedWorkTime

integer

预计使用工时(分钟)

10

versions

string

版本

{6a8cdda167415bea1506c7262c}

extraId

integer

extra 表自增 id

123

foundPhase

integer

发现阶段(10-100)

10

gmtFixed

string

实际修复时间(秒)

无

isStupid

string

是否低级错误(Y|N)

无

reopenNum

integer

重复开启次数

无

seriousLevel

integer

严重程度(0-9)

无

solution

string

解决方法类型

无

extraIsDeleted

string

extra 是否删除(归档)字段, Y(删除或归档) / N(正常)

N

verifierId

string

验证者 id

65e836b981d758be7a25xxxx

serialNumber

integer

在空间内的编号

66

示例

正常返回示例

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
    }
  ]
}

错误码

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。