Question

We are using TFS for source control and to track tasks. How can I get the hours that we put against tasks out of TFS? Specifically, I'd like to be able to see when the hours were put on the task, but I'd settle to just see the hours per task.

Update: This is what I can get if I use SSAS

TFS Hours

However, I know not all of those days I put in a complete hour, so that's not 100% accurate.

Was it helpful?

Solution

Are you looking to retrieve the hours that correspond to the WI-fields? --> In this case you can proceed as @kroonwijk suggests, you can also do this via TFS-API.

In case you are looking to apply a time-tracking utility on TFS, check this out - there are apparently various options available. An additional option might also be this one.

OTHER TIPS

Connect your Excel application to the TFS2010 analysis cube and you will be able to get the hours administered to a task and even the date and time that these hours have been administered.

See http://visualstudiomagazine.com/articles/2011/02/22/tfs-reporting-with-excel-1.aspx on how to connect Excel 2007 / 2010 to the TFS2010 analysis cube.

There is a third party solution for time tracking: http://www.imaginet.com/Solutions/ALM/Pages/Notion-Timesheet.aspx. The problem with reporting hours in the Work Items is that you cannot specify a date on which the hours apply. With the time sheet you are able to bind hours to a work item and a day.

I have created a report in the past that tries to pull the hours out of the TFS system: http://www.ewaldhofman.nl/post/2009/07/09/Time-Entry-report.aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top