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
However, I know not all of those days I put in a complete hour, so that's not 100% accurate.
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.
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
Related
i have a project on Google Cloud Platform, using the Youtube Data V3 API. Everything was going well, earlier this month after receiving several emails alerting that I had to do an Audit, the queries for the day stopped completely. they were completely zeroed.
I followed the link to perform the Audit, and i successfully completed all the changes that were told to me in my application, strictly following the regulations. The audit went well. No further changes were required from me.
But the issue is that the queries per day remain at zero. I can't edit. It occurred to me that maybe using the Google Cloud Trial there could be some change. Negative. I'm still unable to increase the limits, not even using the balance they give you as a gift.
The project used approximately a margin of about 25,000 to 300,000 queries / day. I have requested 500.000 queries / day filling in the quota expansion form to have a little more margin.
Meanwhile the project has been stopped for almost a month. If anyone knows something or how I should proceed about it,
Thank you very much.
Have a nice day,
My team works in a 2 week timebox and they indicate how many hrs each PBI, Task, or Bug will take via effort (if PBI) and remaining effort (if Task), and both if a bug.
As they progress through the Sprint they update their hrs. to show progress of effort.
For example, it's July 24 and John knows that updating a module will take 20 hrs. To complete and as he progresses through the Sprint he updates that number to 15, 10, 5, and then eventually 0. My goal is to show a report with that trail to verify that the 20 hrs. committed to the task was completed. I did some research and could not find much help, but perhaps I'm not stating my question right. Any advice regarding this issue would be much appreciated.
What you are looking for is more like a time tracker and generated report to verify or reflect it.
We do not have this kind of build-in feature or report in TFS server. However, as a workaround, there is a number of applications/add-on out there that expose TFS time tracking/time sheet capability.
They offer different levels of integration with TFS depending on your specific workflows/requirements. They pick up your TFS data entries and provide dashboards for operational reports as well as API to get data loaded to your systems.
Some 3rd-party extension for your referenceļ¼
7pace time tracker
SSW Time Pro
I have never written a windows service or any scheduler before so I couldn't figure out what to do.
I need to write a windows service. There is a Report table in my DB, and I need to check it every day to see if there are new reports added. Reports have receivers and the time settings, such as 15th of every month at 14:00, or daily at 12:35 or weekly on Wednesdays at 13:00. And I need to send emails with some reports at these times.
As I have decided, I will use Quartz.NET. But there are a couple of things I don't understand. So I will have 2 Jobs I think. One for checking the DB every day, to see if there are new reports that users want. And when I receive them, I'll create new different amount of Jobs with new triggers based on the times in the DB? Do I create new triggers in the job of the first daily check? I didn't understand it.
And when for example a time of one report is updated, or deleted, Do I need to delete the Job and the trigger from the scheduler? I'd appreciate the help. I am using VS 2015 with C#.
And when I do the windows service, I'll just initiate this Quartz thing that I have written? Sorry I couldn't understand what I have read so far.
I would recommend Hangfire IO over Quartz.net
http://hangfire.io/
Its a more modern approach to scheduled jobs. In the past I've used Quartz.net as well. First of all, using hangfire requires no service. The jobs are persistent, and retries are built in. The syntax is also easier.
I've used hangfire and its wonderful and simple.
however, Hangfire does not support Oracle db so far. Also Quartz provide more flexibility in terms of scheduling (calendars, end dates etc).
We are upgrading to TFS 2015 and it seem like almost 8 day the system is still trying to upgrade. It is stuck on job step
I'm not sure if I should reboot because one of the article http://nokitel.im/index.php/2015/03/24/tfs-2013-upgrade-project-collection-stuck-offline-servicing-state/ said rebooting would make the process start all over. Any suggestions?
spwho2 shows
8 days is definitely too long. As you can see from the log, upgrade job is waiting for fulltext index population and reports status every minute. If the last entry is from July 2nd, then most likely upgrade job has failed.
You should verify that tfsjobagent service is running on your server first.
If it is not running, you should definitely start it.
If is running, you should query vw_ServicingJobDetail view in the Tfs_Configuration database to find IDs of upgrade jobs.
You can use the following query to see 100 latest step details for a servicing job:
SELECT TOP 100 *
FROM vw_ServicingStepDetail
WHERE JobId = 'your-job-id'
ORDER BY DetailId DESC
Are all 3 upgrade jobs stuck on the same step?
During upgrade, there is a servicing step that checks the status of SQL full-text index population. It waits until all work item long text field values are indexes or the crawl is idle. However, the logic doesn't handle the special status code (the status code 6) returned by SQL, and thus keep checking status in a loop.
TFS team is working on getting the problem fixed. However, there isn't a good workaround at this point except trying to identify the problem in SQL full-text index population, and resolve that (so it no longer returns 6 as its status).
As a starting point, check crawl logs inSQL logs folder, and see the exact error being logged there. Also, try pausing/resuming full-text index on WorkItemLongTexts_Dataspace table, and see if that helps.
If your database are large then this process can take many days. I know of one instance that took over 5 days to upgrade.
If you mean that it is actually in it's 8th day of upgrade then I would suggest that you raise a support call with MSFT.
Full Text Daemon Search service needs to be turned on.
Hello i would like to know if its possible to have watches to monitor which task programmer is working on.. like some time tracker like https://play.google.com/store/apps/details?id=com.rauscha.apps.timesheet but integrated with TFS web service and for desktop.. im just trying to use TFS only for project scrum support but i need to know how many hours programmers spended on which task.. i guess in reality PM dont fill it manually so how it works in real projects ? Thank you
Actually in real projects developers are required to track their own time. In an ideal situation the elapsed time would be the completed time - the assign time. This doesn't work generally as developers generally work on more than one task at a time.