Search code examples
visual-studiotfsalm

Can I set A TFS 2012 BUG to Done automatically upon check in from Visual Studio?


When you in visual studio 2013/tfs2012 check in your work associated with A task you can either 'associate' or 'resolve' the task. Setting it to 'resolve' Will automatically move the task on the sprint backlog and the kanban board to 'Done'. This is Nice because AS A developer you only need to check in using the correct status and status everywhere is okay :-).

This does not Seem to be the case with work items of type 'Bug' - here I Can only choose 'associate' inside vs2013 and then I also need to manually Enter web access and set the bug to 'done'. So I'm kind of doing the same work twice.

Can I without customizing TFS work item types or the proces template get this bug status set to 'resolved' as it works with 'tasks' today - and how?


Solution

  • It's really not a good idea to set a bug as done on checkin. Has the coder verified that the completed output meets the definition of done? How can they hope to do that before they check in?

    A bug, just like a PBI, greys set to done when a Development Team decides as a group that out is complete and that they have met ask quality bars.

    In the Scrum template Bugs are product level items that confirm to the DoD. However you would break that bug down into a number of tasks at your sprint planning meeting and they can be resolved. The workflow for a bug is:

    1) Bug created by tester as the result of a failing test.

    2) Bug accepted into the sprint by the Development Team.

    3) Bug broken down into tasks for at least coding and testing work.

    4) Coder fixes the bug and resolves their Task. The checkin marks this task as Done.

    5) Tester validates the Test Case that proves the bugs existence now passes. They mark their Task as Done.

    6) The Development Team meets and assesses the doneness of the Bug against the DoD. If done they mark it as Done.