5

Using TFS Cloud (myproject.visualstudio.com), there are no Estimated, Completed, Remaining fields to add time to a bug. Do we really have to create a TASK work item basically called 'fix - bugname' for every bug, just to log how long each took to fix?

I appreciate on larger bugs this makes sense, but some are spelling mistakes or other minor problems.

This then doubles the number of work items in lists for all?

any suggestions?

1
  • What Project Template are you using, Scrum, MSF Agile, etc, and what version?
    – DaveShaw
    Commented Jun 12, 2013 at 9:29

5 Answers 5

4

Well, having looked into this, the quick answer is yes.

The benefits of doing so are simple. A TASK is the 'smallest' thing you can do in TFS, and it is always assigned to one person.

Given this, by creating tasks to do the 'work', you can at least see who did the work and account for it (without looking at the history of an item).

You can also 'bounce around' the assigned to for the actual BUG, e.g. to get someone else to verify it, or leave it assigned to whoever 'owns' that bug, while fixing it can be assigned to others (the tasks).

2
  • The important thing to remember is that a bug simply flags an incomplete Task - that Task isn't complete until it passes QA. Associate the bug with the Task that created it, and you'll have a more accurate picture of your development effort.
    – Jim Roth
    Commented Jun 10, 2015 at 14:14
  • I've created script to automatically create such Tasks (Dev + QA) per PBI/Bug. Also, it handles reassignment of PBI/Bug to QA, once changes are merged to staging. Plug: github.com/kotylo/tfs-assign-to-qa Commented Nov 22, 2017 at 13:27
1

If you are using Agile or CMMI template the bugs will not appear on the task board.

Ideally, you need to create tasks to represent the work that you or team members are doing. For instance you need to create development task for fixing the issues and a QA task for testing.

Also you should keep an eye on the statuses of the bug in parallel to the task. i.e. if the developer is working on the fix the bug should be assigned to the Developer and it should be Active and the development task also should be active as well.

Once the development work is completed the the developer can close the underlying task and Resolve the bug and assigned it to QA for testing. If everything goes well the test engineer will close the testing task and at the same time he/she should close the bug as well.

1

Technically yes. What we've decided to do (purely for simplicity and not to bog us down with even more user stories in TFS) is we create one user story per sprint and name it: "BUGS - SPRINT#". Under that we will have tasks that track the work/time spent on bugs.

We also name the tasks by category. For example, if there is a bug in the UI, we name it (example) UI - arrows not reappearing.

Not sure if this is the best way to do it, but it accomplishes effort tracking and keeps TFS clean.

0

I take it that you are using the "Microsoft Visual Studio Scrum" template. The fields in the work items vary based on the template you are using.

For bugs in the Scrum template, we usually cover the effort in the "Effort" field.

1
  • As far as I can see, 'effort' is similar to 'story points' which is what we have. where you guess how many components need changing, and multiply that by a value that you've calculated over the past iteration. e.g. on average last 'version' we took 45 mins per story point. So it enable you to estimate time to complete a user story without knowing everything about it other than components affected.
    – adudley
    Commented Jun 14, 2013 at 9:18
0

We are Using Visual Studio 2012. This is the way we are handling this situation. We have created a user story “ Resolving, Re-testing bugs.” Every iteration developers who have to fix bugs create a ONE task for all bugs. The developer adds comments to each and every bug resolved, and update time accordingly. QA person also adding a ONE task for the iteration for re-test bugs. QA person update his task accordingly for each and every bug. All Developers and all QA personal create child tasks for the same user story.

Not the answer you're looking for? Browse other questions tagged or ask your own question.