Use TFS to track bugs from Production Support

issue-trackingteam-foundation-server

I have just moved to a new company and they are using TFS 2010 (2012 in a couple of months) as their version control system and recently started to use it as a work tracking system for the developers.

However, there doesn't seem to be a bug tracking system for use by people outside development & test. Production support are getting reports of issues, fixing them on the fly and reporting back to their users at the moment. This needs to be changed but I don't really want to have a sperate system for tracking bugs and tracking dev work.

Is there a way that I can create a very light weight way of entering bugs into TFS similar to the way that FogBugz does? Logging into TFS to fill out a bug report seems to be a lot heavier and you have to associate it with a particular application. Support may be able to do this but I want to be able to triage the item and potentially change the association to something other than an application.

I have used FogBugz in the past and when adding a bug, you can add a much/little as you want to the item so it is at least recorded and later you can bounce it back to get more information when you come to triage the ticket.

Best Answer

It largely depends on what fields you would want, as 17 of 26 indicated: TFS is highly customisable. The reason I would want to do this as opposed to use something like JIRA is that you get a single view of what your developers are working on, as opposed to having to aggregate two systems.

TFS also has resource capacity planning, and if you're not showing production defects in your planning (and they take up a significant fraction of your time), then you're not really planning your capacity. I would in fact say that this is an ideal solution for teams where the developers make use of TFS and support Production (e.g. DevOps).

It doesn't mean you can't use other tools for the main Production Support/ITIL work, you'd just need to make sure they integrate, either manually or preferably automatically. Most such tools allow you to put in custom hooks, and TFS certainly does.

Anyway, to the main question. I use the CMMI TFS templates (which actually work fine with Agile BTW), and I just added a single field to one of the drop downs.

Here are the steps:

Install TFS Power Tools

Open the Work Item Template from the server

Open Work Item Template from server

Open Bug template

Edit the Discipline field

The discipline field is the "kind" of work related to the defect. The standard values are:

  • Analysis
  • User Experience
  • User Education
  • Development
  • Test

What we're just going to do is add "Production" to that list. First, edit the Discipline field:

Edit Discipline

Then, click the Rules tab and edit the ALLOWEDVALUES rule:

enter image description here

Then, Click "New", and add in "Production" as one of the values.

enter image description here

Click "OK" repeatedly until you're back at the field list.

Save the Work Item Template

OK, now you're done. You can create new Bugs and indicate their type as Production. I'd also create a few Work Item Queries looking at Production defects, and add them to your pinned items. Finally, look at the existing Bug queries, and maybe change their ordering so that "Production" bugs come up first (if that's possible).

Related Topic