conplement TFS Work Item Tree Copy
Updated on 21/2/2016: Source Code on Github
The source code for this extension is now available on github. https://github.com/DanielMeixner/WorkItemDeepCopy/
Updated on 11/01/2011: Copy without History Link is now possible!
Work Item Tree Copy gives you the chance to copy hierarchical trees of work items in TFS based on parent/child relationships.
Instead of copying all work items one by one or doing the Excel-Import-Export workaround, you can now copy complete trees by specifying only the root work item id. You may have missed this feature when you spend a thought on baselining and versioning of work items in one way or the other in the past.
The tool offers a lot of options to specify the tree copy in detail, to name some of them:
1. Keep hyperlinks
2. Adjust hyperlinks (eg. http://myserver/myfolder/v1.0/mydoc.doc --> http://myserver/myfolder/v2.0/mydoc.doc)
3. Modify custom field
4. Set History Link to ancestor work item
5. Ignore Work Item Types
6. Ignore Work Item Link Types
7. Keep Changesets
8. Keep Versioned Items
9. Keep Attachments
Tree Copy only keeps work item links within the subtree, except for the historical links. To fully enjoy the functions, you should create the historical link type on your TFS using ‘witadmin importlinktype’
The syntax of the link type is:
<LinkType ReferenceName="conplement.LinkTypes.Historical" ForwardName="Historical Descendant" ReverseName="Historical Ancestor" Topology="Dependency" />
If you have any suggestions or questions feel free to ask or start a discussion.
In your own interest, you should run this software on an non-productive server before running it on your productive system!
If you need a customized solution for your business, let me here about your needs!
Installation instruction:
1. Download & Install the VSIX
2. Install the History Link Type on your TFS (optional but recommended)
( <LinkType ReferenceName="conplement.LinkTypes.Historical" ForwardName="Historical Descendant" ReverseName="Historical Ancestor" Topology="Dependency" /> using witadmin importlinktype, if you need help, checkhere or contact me.)
3. Run Visual Studio, go to Tools--> run conplement Work Item Tree Copy
4. Follow the wizard. All you have to do is specify a valid work item id. Everything else is optional.
5. Hint for all Windows XP users: Pleasse add the %localappdata% environment variable to your system following this instruction:
http://www.cjvandyk.com/blog/Lists/Posts/Post.aspx?ID=293
Enjoy!
Daniel
PS: By the way: I created this extension using the (great) Feature Builder Power Tool!
PPS: Are you a ALM consultant or TFS Expert? Are you looking for a new job? Contact me!
PPPS: Special thanks to Thomas & Markus & Doris for good ideas!
www.conplement.de