TFS & Visual Studio ALM - by Neno Loje

(formerly Team System, VSTS)

News

Recent Posts

Community

Tags

Email Notifications

VSTS Blogs

VSTS Community

My Other Blogs

German VSTS Websites

Archives

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

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.

TFSAreaImportExportTool

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: AreaImportExportTool_1.0.1.zip (25 KB)

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

Comments

CSatOSU said:

Thanks.. saved me some time.

# July 25, 2007 4:25 PM

CSatOSU said:

Thanks.. saved me some time.

# July 25, 2007 4:25 PM

SCP said:

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

# August 16, 2007 2:27 PM

neno said:

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

# August 20, 2007 3:06 AM

Visual Studio Team System (VSTS) Blog said:

You can download a new version of the Area Import/Export Tool , compiled against Team Explorer 2008,

# January 13, 2008 7:11 PM

TFS, Visual Studio ALM, and Team System Blog said:

You can download a new version of the Area Import/Export Tool , compiled against Team Explorer 2010,

# July 8, 2010 4:36 PM

Tom said:

Very Nice.  Time saver for sure

# September 2, 2010 9:35 PM

Robert Good said:

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

# September 23, 2010 5:08 PM

Priya venkate said:

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!

# February 23, 2011 4:19 PM

neno said:

You're welcome.

# March 11, 2011 4:48 PM

Bob said:

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?

# March 25, 2011 4:45 PM

Stanislav Dvoychenko said:

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

# April 27, 2011 10:01 AM

Priya said:

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.

# May 5, 2011 6:07 PM

neno said:

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.

-Neno

# May 6, 2011 3:11 AM

Mauricio said:

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

# June 6, 2011 2:18 PM