获取项目中迭代信息
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | GetDevopsProjectSprintInfo |
系统规定参数。取值:GetDevopsProjectSprintInfo。 |
OrgId | String | 是 | 5ebbc0228123212b59xxxxx |
企业标识,也称企业id,字符串形式,可在云效访问链接中获取,如 https://devops.aliyun.com/organization/【OrgId】 |
SprintId | String | 是 | 60b89885941c8f003fxxxxx |
https://devops.aliyun.com/project/【ProjectId】/sprint/section/【SprintId】 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
ErrorCode | String | “” |
错误码 |
ErrorMsg | String | “” |
错误信息 |
Object | Struct |
迭代信息 |
|
Accomplished | String | “” |
“” |
Created | String | 2021-06-07T07:40:36.188Z |
创建时间 |
CreatorId | String | 60b89885941c8f003fxxxxx |
创建者 |
DueDate | String | 2021-06-07T07:40:36.188Z |
截止时间 |
Id | String | 60b89885941c8f003fxxxxx |
迭代id |
IsDeleted | Boolean | false |
是否删除 |
Name | String | 测试迭代 |
迭代名称 |
PlanToDo | Struct |
计划工时 |
|
StoryPoints | Integer | 0 |
故事点 |
Tasks | Integer | 0 |
任务数 |
WorkTimes | Integer | 0 |
工时 |
ProjectId | String | 60b89885941c8f003fxxxxx |
归属项目id |
StartDate | String | 2021-06-07T07:40:36.188Z |
开始时间 |
Status | String | future |
迭代状态(future-未开始 active-进行中 complete-完成) |
Updated | String | 2021-06-07T07:40:36.188Z |
更新时间 |
RequestId | String | ASSDS-ASSASX-XSAXSA-XSAXSAXS |
请求id,每次请求都是唯一值,便于后续排查问题 |
Successful | Boolean | true |
true 接口调用成功,false 接口调用失败 |
示例
请求示例
http(s)://[Endpoint]/?Action=GetDevopsProjectSprintInfo
&OrgId=5ebbc0228123212b59xxxxx
&SprintId=60b89885941c8f003fxxxxx
&<公共请求参数>
正常返回示例
JSON
格式
{"RequestId":"ASSDS-ASSASX-XSAXSA-XSAXSAXS","ErrorMsg":"“”","Object":{"Status":"future","StartDate":"2021-06-07T07:40:36.188Z","IsDeleted":"false","Accomplished":"“”","Updated":"2021-06-07T07:40:36.188Z","CreatorId":"60b89885941c8f003fxxxxx","ProjectId":"60b89885941c8f003fxxxxx","Id":"60b89885941c8f003fxxxxx","DueDate":"2021-06-07T07:40:36.188Z","Name":"测试迭代","Created":"2021-06-07T07:40:36.188Z","PlanToDo":{"Tasks":"0","WorkTimes":"0","StoryPoints":"0"}},"ErrorCode":"“”","Successful":"true"}
错误码
HttpCode | 错误码 | 错误信息 | 描述 |
---|---|---|---|
404 | InvalidOrganization.NotFound | The specified organization doe not exist. | 企业信息有误,未找到该企业 |
404 | InvalidUser.NotFound | The specified user does not exist. | 用户数据有误,未找到该用户 |
400 | InvalidUser.UserNotInCurrentOrganization | The user does not belong to the specified organization. | 当前用户不属于该企业 |
访问错误中心查看更多错误码。