Bringing you news, technical articles, and other useful content about Visual Studio ALM and Team Foundation Server
More videos »
I’ve had a few people ask: “What if I estimate my tasks in something other than hours, like ideal days or story points?”
The truth of the matter is, the “Remaining Work” field on the Task work item is just a dumb integer. You can enter anything you like in it. The only thing that even references what unit it might be in is the little “h” that appears on the task board and on the capacity pane.
If you are installing TFS 2012 on-premise, this little “h” is configurable to be whatever you want. (Unfortunately, it is not configurable for tfspreview.com … yet)
Here’s how:
cd C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE witadmin.exe exportcommonprocessconfig /collection:http://SERVERNAME:8080/tfs/DefaultCollection /p:PROJECTNAME /f:.\CommonConfig.xml
cd C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE
witadmin.exe exportcommonprocessconfig /collection:http://SERVERNAME:8080/tfs/DefaultCollection /p:PROJECTNAME /f:.\CommonConfig.xml
Locate this line in the XML file: <TypeField refname="Microsoft.VSTS.Scheduling.RemainingWork" type="RemainingWork" format="{0} h" /> Edit the highlighted part to be whatever you want. For example, if you estimate in story points, you can change it to “{0} sp”.
Locate this line in the XML file:
<TypeField refname="Microsoft.VSTS.Scheduling.RemainingWork" type="RemainingWork" format="{0} h" />
Edit the highlighted part to be whatever you want. For example, if you estimate in story points, you can change it to “{0} sp”.
witadmin.exe importcommonprocessconfig /collection:http://SERVERNAME:8080/tfs/DefaultCollection /p:PROJECTNAME /f:.\CommonConfig.xml
Enjoy!
You can also use TFS Team Project Manager (teamprojectmanager.codeplex.com) to configure this Common Configuration file interactively without using any command line tools. And it does a whole lot more for TFS administrators :-)
That's great, but what about all the other places? In particular the task form has a heading "EFFORT (HOURS)". That needs to be changed to "EFFORT (POINTS)". How can that be changed?
Also, how can this be set as a default for all projects? No one wants to do this each time a new project is created. What a pain.
@Dominic, that is possible by editing the work item form layout.
Here is a document to get you started: msdn.microsoft.com/.../ms243834(v=vs.80).aspx