Adding New Area and Iteration in Microsoft Visual Studio Team Foundation Server 2008

Adding new area and iteration in Microsoft visual studio team foundation server 2008 is very easy but sometime it can go wild and leave you in the middle of nowhere except searching the internet and Googling around for hours. All this can happen if you have recently taken the backup and the system has created temporary files during the backup. The problem you will face at this time is the population of the newly created areas and iteration won’t appear in the bugs and tasks pane where you have to select the appropriate area and iteration at the time of creation.

How to add a new area and iteration is given as under:

  • Open the visual studio team explorer and right click on the respective project where you have to create the area or iteration (Area and Iterations are dependant on the project).
  • Go to Team Project settings

area_iteration_tfs_2008

After successfully adding a new area or iteration when you go to create a bug or task, there will be no newly added area or iteration. After searching the Google for like two hours, I found the commands to clear the cache and refresh the settings. Commands are given as under:

  • C:Program FilesMicrosoft Visual Studio 2008 Team Foundation Server TF Setup>BisSubscribe /eventType BuildCompletionEvent /address http://<tfsservername>:8080/WorkItemTracking/v1.0/Integration.asmx /server http://Servername:8080

Result: TF50001: Created or found an existing subscription. The subscription ID is 18.

  • C:Program FilesMicrosoft Visual Studio 2008 Team Foundation ServerTF Setup>BisSubscribe /eventType DataChangedEvent /address http://ServerName:8080/WorkItemTracking/v1.0/SyncEventsListener.asmx /server http://ServerName:8080

Result: TF50001: Created or found an existing subscription. The subscription ID is 19.

  • C:Program FilesMicrosoft Visual Studio 2008 Team Foundation ServerTF Setup>BisSubscribe /eventType ProjectCreatedEvent /address http:// ServerName:8080/Warehouse/v1.0/warehousecontroller.asmx /server http:// ServerName:8080

Result: TF50001: Created or found an existing subscription. The subscription ID is 20.

  • C:Program FilesMicrosoft Visual Studio 2008 Team Foundation ServerTF Setup>BisSubscribe/eventType DataChangedEvent /addresshttp://ServerName:8080/VersionControl/V1.0/Integration.asmx /server http:// ServerName:8080

Result: TF50001: Created or found an existing subscription. The subscription ID is 21.

Note: Please be careful while copying the commands. replace the ServerName with your server name.