TFS Reporting capabilities - reporting-services

I have no knowledge about the reporting capabilities of the Team Foundation Server as we have it installed without them.
Now the company wants to generate a report with the hours each person entered each day. Is this possible using the reporting tools of TFS?

Yes, it is possible to now configure the reports as part of TFS even though you did not do so earlier.
Add a Report Server to Your Deployment
Yes, it is possible to report on the number of hours entered into TFS by user each day
No, it is not a good idea and this is an extremely poor metric to monitor and will likely result in a manifestation of negative behaviours in your team / individuals.
No, it is not possible to do time sheets in TFS.

There is another alternative (paid with free trial): http://www.tfs-timetracker.com.
It is fully integrated into TFS and focuses on tracking time people spend. It's compatible from TFS 2012 up to the latest version (currently TFS 2013 Update 2). (I'm from the team, I hope you accept me 'advertise' our solution in this thread.)

TFS is not a system for tracking "the hours each person entered each day". Forgetting about the reporting for the moment, you must first ask where such data would be coming from? Do you have a customized work item type that you use for entering time?
If the data are present in work items, then you can certainly use the integration with Excel. You can create a work item query and easily open the query in Excel. That will give you the data, and you can do further formatting and analysis using the tools built in to Excel.

By the way I've found some tools related with time tracking with TFS:
Free:
TFS Timesheet
TFS Timesheets
Paid:
Team expand
Imaginet
Only the 2nd option will work out of the shelve with TFS 2012.

Related

Pentaho scheduled PDF reporting

I am quite new in Pentaho and don't seem to understand some basics. My company has a MySQL database (readable) with which we want to print reports daily and annually for the employees to access. I have been looking at tools such as Jaspersoft. But I also stumbled upon Pentaho which has nice reviews. Nevertheless, I installed "Pentaho Report Designer" but didn't manage to do scheduled PDF printing jobs. I saw that for this I have to download the whole Suite (which is quite huge). Does anybody have a solution - is it possible to download only the User Console and the reporting tool? I searched for a while on Google but didn't manage to find the answer. Thanks
Nevermind - I didn't look carefully enough. By downloading the community edition , I can chose directly which modules I want and schedule tasks through the server with the user access panel.

Report effort per work item in TFS 2012

I have sucessfully set up the reporting capability for my TFS 2012. Now I'd like to report effort per work item (like User Story). I'm using the Agile process template, so the tasks and user stories have a field for typing in effort. However, during report creation I can't idendify the table and colum where the effort resides. Can anyone give a hint?
Found it. It's in the table FactCurrentWorkItem, field Microsoft_VSTS_Scheduling_CompletedWork.

How to use SSRS solution through TFS

I am using SQL server 2012. I have created one SSRS solution in SSDT (Sql sever data tools).
I want to add it in TFS Visual Studio 2010. It only used for Syncing purpose for all team members. so every one can get all reports by doing get latest every day. there is about 300 reports for different modules. I want to use SSRS solution through TFS.
previous project i was facing problem about Syncing of all my team members. because individual is created their own solutions and after completing report they are upload it on report server.
I don't want to do it again.
I want to use TFS to Syncing all teams members for all reports.
Any solution for it?
TFS will allow your team members to sync the reports locally to their machines whenever a change occurs or a report is added. Your team members will just need to get latest from TFS to their local workspace.
Sounds like you need to create a process for your team to follow and educate them on how reports should be added or modified.
For example, if you have a folder called reports in TFS then anytime a developer needs to make a change or add a report they would add it to this solution and folder. Lock down the ability to deploy reports straight to the server until approved therefore developers cannot bypass TFS.
Steps a developer would take to ensure the latest report is being updated or changed:
Developer pulls down latest report folder from TFS locally
Developer makes updates and changes
Before developer checks in any changes they again pull down the latest to ensure they will not overwrite any new changes. A possible merge may be required if the report has changed since the developer started working on it.
Developer checks in changes to TFS
Once changes to reports are approved then the report is deployed to reporting server. This could be done via a TFS build.
Hope this helps. Please let me know if I misunderstood your question or problem.
Looks like you going to need to make a custom plugin that can sync your reports to other teams when it is checked in

TFS Requirements Overview Report showing wrong data

I have an interesting issue with TFS reports. When I run the QUERY: Team Queries->Planning and Tracking->Work Breakdown, I see the correct information, which is to say that I see the work items, etc. that are entered into TFS. However, when I run the REPORT: Reports->Project Management->Requirements Overview I see that same data PLUS data that is no longer in the system.
Important information:
* I am using TFS 2010
* When I originally created this project, I used a Microsoft Project plan to upload the work items. Before my team started using it, I decided to forget about Project and just use the web/studio interface, so I used the query "Delete all items" to clean the database.
While the clean worked in all other cases, this report seems to be holding on to those items, and I would like to know if there is a way to fix that. It has been several weeks, and I ran the cube reports to see if it was updating (everything updates fine).
Anyone have a clue what's going on here?
I'm not familiar with the query that you talk about, but if you do a delete of workitems, the delete may not have been propagated to your warehouse (and subsequently the cube). If you have a relatively small number of WorkItems in your TFSWorkItemTracking database, it may be a good idea to rebuild your TFSWarehouse, which will then refresh your cube.
Take a look at the SetupWarehouse.exe command, which should be installed on your Application Tier. This could take anywhere from an hour to a day to run, depending on your version control and work item tracking database, so you may want to do it off hours. It shouldn't affect the day-to-day execution of TFS, just the reports.
The above is for TFS 2008 Only. Per Matthew below, here's the answer for TFS 2010
From what I found SetupWarehouse.exe
no longer exists with TFS2010. In the
Administration Console, under
Application Tier->Reporting, there is
an option called "Start Rebuild".
Using this completely resolved my
problem. Thank you. It should be noted
that there is NO feedback from
clicking on "Start Rebuild". At first
it looked like the admin panel hung,
then it came back without feedback. It
took about an hour for reports to
start working again, which is the only
way I knew it was done.
If you ever get into the situation again where you need to permanently get rid of one or more workitems, you should get the TFS Power Tools. The TFPT utility has a "destroywi" command that allows you to permanently (and safely) remove workitems from TFS.
Power Tools are available here: http://msdn.microsoft.com/en-us/vstudio/bb980963

How can I report on files with pending changes in TFS?

I'd like to create a simple report that shows files that currently have pending changes (checked out) from a TFS 2008 server. I know that I can use the "Find in Source Control" option from Team Explorer, but I would rather generate a reporting services report. Ideally, I'd be able to show when the file was checked out and the user that checked it out, but that's not imperative.
If the data isn't pushed to the TFS data warehouse by default, then I'd like to find the relational table(s) in the SQL Server instance that would need to be queried.
I've spent some time digging around the TFS data warehouse and looking at all of the canned Reporting Services reports that I can get my hands on, but everything seems to be geared towards work items, check-ins associated with work items, etc...
If you're looking for some easy to read data and not too worried about print outs, have a look at the TFS sidekick application by Attrice. Very helpful and if you have the correct permissions, you'll be able to see all the checked out files.
http://www.attrice.info/cm/tfs/
I doubt the information you're looking for is in the data warehouse and even if it was it might not be fresh enough for your purposes. By default the warehouse is updated once an hour.
You could use SSRS to report directly against the TFSVersionControl database but I would not recommend going this route. The database is not documented and chances are very good that it will change in the next version. It could also have performance implications if your queries are not written correctly.
A better solution would be to use the TFS web services as your SSRS data source. There are services you can call to get all files that are checked out. This iformation is always current and the queries it runs are highly optimized.
Example command line (Studio 2008):
"C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\tf.exe" status /recursive /user:*