I have been using TFS to track my backlog items and I am now trying to write a query to see how long I took on particular tasks in the last 7 days. So Far I have this query:
Work Item Type = Task
AND State = Done
AND Closed Date = @Today - 7
AND Area Path = @Project
AND Assigned To = @Me
and have added the column "Closed Date" which shows the time work stopped on this item. But I cannot get any information as to when work started on the Task
Feels like the data should be there as on particular tasks it has the following kind of information:
Is this possible? I don't mind extracting the data to Excel to analyse.
The reason I ask is because I would then like to go on to compare the amount of hours assigned to a particular task and compare it to amount of hours actually taken to help my predictions of time taken in future.
答案 0 :(得分:1)
实际上这是一个非常简单的查询。 这就是我正在使用的内容。
(Work Item Type = User Story
OR Work Item Type = Bug
)
AND State <> New
AND State <> Removed
只需在显示的列中加入Activated Date
,Resolved Date
和Closed Date
即可。 Activated和Closed之间的时间是您的总循环时间。
我的团队使用Resolved作为&#34;待定部署&#34;状态,因此比较Resolved to Closed允许我们确定从&#34; done&#34;获取项目所需的时间。在&#34; in prod&#34;。
答案 1 :(得分:0)
TFS并非旨在成为时间跟踪工具。您可以使用TFS API查询工作项历史记录,并检查发生状态转换的时间戳,如果您真的想要的话。
敏捷项目并不专注于个人任务需要多长时间 - 他们关注的是开发团队在一段时间内提供的价值。有一件事可能估计很低,一项任务可能估计很高,但只要团队交付他们承诺提供的东西,它最终都无关紧要。