TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Copy area and interation structure using the Area Import/Export Tool

July 7th, 2007 · 13 Comments · Downloads, Team Foundation Server, TFS 2005, TFS 2008, TFS Administration, TFS Extensibility, TFS Tips and Tricks, TFS Work Item Tracking, Tools and Utilities, Work Item Customization

If you look for a way to export and import your area and/or iteration structure the Team Foundation Object Model (TFOM) is your friend.

However it’s only your friend if you know where to look for.

While the export works perfectly using the WorkItemStore, the import is only possible through the ICommonStructureService (and could be used for export as well).

At the bottom you can download the source code of TFS Area Import/Export Tool.


It saves your area and/or iteration structure into a text file and lets you import it into another project (even on another Team Foundation Server).

Feedback is appreciated.

Version 1.0.2 – compiled against Team Explorer 2010

Version 1.0.1 – compiled against Team Explorer 2008
File Attachment: (25 KB)

Version 1.0.0 – compiled against Team Explorer 2005
File Attachment: (69 KB)


13 Comments so far ↓

  • CSatOSU

    Thanks.. saved me some time.

  • CSatOSU

    Thanks.. saved me some time.

  • SCP

    Thanks, worked perfectly. Curious to see if this will work across 2005 / 2008 servers.

  • Neno

    SCP: The tool uses relies on the team foundation object model only which makes it compatible with 2008 servers as well. :-)

  • Tom

    Very Nice. Time saver for sure

  • Robert Good

    Thank you so much! The 2010 build exported from TFS2005 and imported into TFS2010 perfectly!

  • Priya venkate

    Neno, Cool tool! I have tested real quick to see if I can rely on this tool for 100+ projects in our scenario.

    Great work!

  • neno

    You’re welcome.

  • Bob

    This is a good tool. The only point i would like to make is it fails if there is a Area/Iteration already exists. How about ignore that and proceeding with the rest?

  • Stanislav Dvoychenko

    Thanks! Worked with no problem for TFS2010->TFS2010.

  • Priya

    I am trying re-populate the area and iteration with new set of values, as we are restructure out TFS projects and modules. Looks like this tool just appends the nodes to the existing nodes. May it will be good to have options either to replace the entire list.

  • neno

    Priya – that’s right. You have to delete all areas (before?), if you want to replace them.
    When deleting, TFS will ask you to supply an new area path for existing work items that are assigned to the area node you are removing.


  • Mauricio

    brilliant!!! thank you so much. I was able to copy from VS2010 to VS2010 :)

Leave a Comment