In TFS (2010 and up at least), we have the concept of iteration, which seems to be supposed to help assigning work (what do we do in release 1.0, what is planned for 1.1 and what is left in the backlog). I have to mention I've been looking at the Scrumm template for TFS2012.
Now, how do you classify bugs by product version? For example, imagine we have the a product with v1.0 and v2.0 in the wild and v3.0 in developpment.
Now, we discover a bug in v1.0, and it turns out v2.0 and v3.0 also contains the bug.
Code-wise, we'll correct the bug in dev, then merge it to v1.1 and v2.1 so that our current users are not left in the cold with their version (because we cannot always mandate upgrading to the latest version).
When creating a bug in TFS, we have the option of indicating an iteration path. But we can only use one iteration, whereas we need to be able to declare the bug as existing in all three version, and mark it as corrected independently as the merges happen.
Is there any way to support that way of working in TFS, or am I looking at it wrong?
One way to accomplish this would be to modify the default Work Item Type for Bug in TFS:
In VS 2010, open the editor by choosing
Tools > Process Editor > Types > Open WIT From Server
from the main menuIn the Select Work Item Type dialog, expand the Team Project that you would like this template to apply to, select Bug and click OK.
When the editor opens, you'll see a list of all available fields for the Bug work item. You should notice a Found In field available in the list. By providing the version number(s) in this field, it should be pretty easy to write queries that can find bugs by version.
To display this field, choose the Layout tab to bring up the form editor. It's basically just a big tree view. Expand the group for Group - Classification (or wherever you think this field is most appropriate), right-click Column and choose New Control
In the attributes panel, choose Found In for the Field Name, and also update the label.
Choose Preview Form to test your changes, then save and close the editor