Friday, June 28, 2013

Team Foundation Server 2012: Customize the quick add panel

On the TFS 2012 Product Backlog page on the Web Access, you’ll find the quick add panel, a fast and easy way to add new work items to your product backlog. By default, you can only specify a Title field but it is possible to customize it and add more fields.

image

Here are the required steps to customize the panel:

  • Open a command line console and navigate to the Visual Studio Common7\IDE folder(or open a Developer Command prompt for VS2012).
  • Call the Witadmin tool with the exportagileprocessconfig option to export the agile process configuration file.

witadmin exportagileprocessconfig /collection:http://tfsserver:8080/tfs/defaultcollection /p:ProjectName /f:c:\agileconfig.xml

  • Open the exported xml file and locate the AddPanel element.

image

  • Add a field element that specifies the reference name of the TFS field that you want to add to the panel.

image

  • Save the file
  • Call the Witadmin tool again but this time with the importagileprocessconfig option to import the updated configuration file.

witadmin importagileprocessconfig /collection:http://tfsserver:8080/tfs/defaultcollection /p:ProjectName /f:c:\agileconfig.xml

  • That’s it!

No comments: