我希望根据完成日期而不是接受日期来计算周期时间。 我们的"已接受"状态由"用户接受"流程驱动,该过程有时花费的时间比我们预期的要长。 我在层次结构要求上没有看到完成日期,但也许我错过了它。
我是否错过了完成日期,或者我应该在回溯 API 中查找此内容?
您说得对,故事中没有"完成日期"这样的字段。下面是一个回溯 API 查询,用于查找在指定日期内从"进行中"到"已完成"的故事:
https://rally1.rallydev.com/analytics/v2.0/service/rally/workspace/1111/artifact/snapshot/query.js?find={"_TypeHierarchy":"HierarchicalRequirement","Children":null,"ScheduleState":"Completed","_PreviousValues.ScheduleState":"In-Progress",_ValidFrom: {$gte: "2013-06-01TZ",$lt: "2013-09-01TZ"}},sort:{_ValidFrom:-1}}&fields=["ScheduleState","_PreviousValues"]&hydrate=["_PreviousValues","ScheduleState"]&pagesize:20
以下是返回结果的片段:
TotalResultCount": 39,
"StartIndex": 0,
"PageSize": 100,
"ETLDate": "2013-09-17T03:35:02.819Z",
"Results": [
{
"ScheduleState": "Completed",
"_PreviousValues": {
"Owner": null,
"ScheduleState": "In-Progress"
}