How to report TFS usage - tfs

I'm working on implementing TFS for numerous teams and am looking for a way to monitor TFS in terms of how many distinct users, builds ran, work item totals, collections/projects/teams, and more, preferably if I can see daily/weekly/monthly metrics. I've found some solutions by querying the SQL database, but am curious if there are any extensions or solutions others have found to monitor the usage of your TFS instance as well as any GUIs that help visualizations.

No such a comprehensive tool or extension to achieve that.
For specific team project, you can add widgets to a dashboard to monitor the status:
Widgets smartly format data to provide access to easily consumable
data. You add widgets to your team dashboards to gain visibility into
the status and trends occurring as you develop your software project.
Each widget provides access to a chart, user-configurable information,
or a set of links that open a feature or function.
For example , with builds just specify the specific build definition, for work items you can create queries and specify the query when configure a widget.
Actually you can retrieve most of the information via REST API.
e.g.: Get Builds - List:
GET http://server:8080/tfs/{project}/_apis/build/builds?api-version=3.2
You can also try to custom your own reports, please see SQL Server Reporting (TFS) and Create and manage Reporting Services reports for details.

Related

Is it possible to calculate efforts of a User across the multiple projects in TFS 2018.3 and Azure DevOps Server

We are trying to calculate efforts of a User across different projects in the same collection of TFS 2018.3 and Azure DevOps Server (ADS). Is there any possible way to achieve this scenario in TFS/ADS and do we have any official extension from Microsoft or third-party extensions to calculate this?
Thanks in advance
No, there is not a build-in way to sum up the effort or story points across projects.
Support for calculated fields and roll-ups which is still a user voice at present.
As an alternative, you could implement a server side plugin for TFS or create a Web Service that subscribe to TFS Events, then in your code you will use TFS API for the Client Object Model (Work Item Tracking) to get the needed work-items and user info, calculate and save the data to somewhere.
Another solutions is an 3rd-party TFS Aggregator extension for Team Foundation Server (TFS) that enables running custom script when Work Items change, allowing dynamic calculation of field values in TFS and more.
Besides you could also export the query to Excel, and sum the completed work column in Excel.
All above is for a single project, you need to count them for multiple projects finally.

How to query list of users and hours they worked today in microsoft team foundation server, tfs?

In Team Foundation Server (TFS), currently I am able to query the work items (bugs, tasks) by #CurrentIterationPath and status (closed etc.). But I am in need of fetching all users who worked today and the number of hours they logged. Could anyone out there help please?
I am using tfs 2015.
CAVEAT what you ask is a bad practice and I always advise against. TFS is not a time entry tool: it is designed to support development team in being agile not to support accounting! If you need that there are tools that extend/integrate with TFS, designed for that purpose.
That said, there is no OOB report, query or API that will extract similar information.
A possibility is to use an Excel Pivot Table that reorder the export of a WIQL query. See here and here for Excel integration with TFS.
Another path is to write a SSRS custom report but I doubt it offers all data you asked for and it is a non trivial exercise IMHO.

How to pull data from JIRA to create custom reports

I'm trying to pull data from JIRA that would be valuable to a QA manager. Specifically, I'm looking for a way to see how many times an issue was tested, and sent back for development due to failing testing. I've browsed a bunch of plug-ins but I don't think I've come across one that can pull such specific data from JIRA and create a report. The other option I've come across is using the API's com.atlassian.jira.issue.changehistory methods to pull the data and then filter it using conditional statements in Java. However, I'd prefer a ready-made plug-in that can support such querying of JIRA data if one is available.

Query for open tasks in Asana

We're looking at using Asana to combine CRM, administration and issue tracking in a web dev firm. The key feature we need is a view of the "next actions" or "top [1|2|3] priorities" across all projects in a workspace, irrespective of who they are assigned to. It seems Asana does not provide this out of the box (is that right?) so I am looking into writing API queries to pull this out into a dashboard of our own.
I understand you don't want to let people pull ALL tasks in one workspace, as it may grow, but is there a way to pull out the top few open tasks in each project, without having to specify the assignee?
(I work for Asana)
Currently, the API allows you to grab all tasks in a project, see https://asana.com/developers/api-reference/projects. It will return them in ranked order (the same as they would show up in the Asana UI), however it won't limit them to some number; you'll have to get them all. Limits and pagination are on our roadmap to enable developers to work more efficiently with larger projects and workspaces.
So, it seems like you'd want to grab all projects, then iterate through them and query all tasks - this will give you their name and ID by default. If you want more detail for the ones you're going to show, then I recommend querying the details on each of those tasks individually.

team foundation server 2010 web access reports

I know its a noob question, but
I have setup a pilot for TFS2010, I want to demo this for business/project managers in our company. From what I think, TFS server allows you to view reports like
- Active items
- bugs
- time remaining etc
in a chart or graph form. I have installed SQL server reporting service on TFS as well, how can I view reports, do I need share point for this? Do I need to install something extra to enable reports?
The idea is, business/project people will not have VS installed, so they will use web-access to create tasks, bugs etc. Kindly guide me in the right direction.
Thanks,
Ali
For the demo, you will need to create a TFS project. In the process of doing this you will have to select a so-called process template. For example, the default MSF Agile template contains some default reports that will be uploaded to the report server for you while the TFS project is created. No additional actions are needed.
You do not need SharePoint for the reports to be displayed, since the report server has its own website. However, the integrated SharePoint portal shows other project management capabilities, like the sprint backlog, which allows capacity planning for your teams. We use that one and shows-off very good :-)
So, I would say, create the TFS project, with the SharePoint and the Agile template, insert some realistic demo data for user stories, tasks, bugs and register some time on the tasks performed and remaining. If you do this over a couple of days, your report will show-off good, like a sprint is in action.

Resources