使用版本1 rest api获取[TOTAL DURATION ESTIMATE]和[TOTAL REMAINING DURATION]信息

时间:2015-03-28 19:20:30

标签: agile versionone

我如何才能获得这些故事的总持续时间和剩余时间     使用版本1 api的持续时间? 尝试了https://host/meta.v1/Story?xsl=api.xslhttps://host/meta.v1/Timebox?xsl=api.xsl API文档,但仍未获得。

1 个答案:

答案 0 :(得分:0)

您要查找的值在meta中列为“Estimate”和“ToDo”。要查看特定故事的值,请使用以下内容:

http://host/instance/rest-1.v1/Data/Story/5296?sel=Estimate,ToDo

要查看特定项目(范围)中所有这些值的总和,请使用以下内容:

http://host/instance/rest-1.v1/Data/Scope/5258?sel=Workitems:Story.Estimate.@Sum,Workitems:Story.ToDo.@Sum

请注意,在该示例中,正在使用从工作项向故事的向下转换。