Deleting WorkItems in TFS

If you ever need to delete (destroy) workitems in TFS, use the witadmin utility to do so:

witadmin destroywi /collection:http://myserver:8080/tfs/DefaultCollection /id:123,444,555

As you can see, you can destroy multiple work items at a time.  There’s no turning back once you delete a workitem, so make sure that you really wanted to get rid of it.

About esteban

Esteban is the Founder and Chief Technologist at Nebbia Technology, an ALM consulting and Azure-powered technology company. He is a software developer with a passion for ALM, TFS, Azure, and software development best practices. Esteban is a Microsoft Visual Studio ALM MVP and ALM Ranger, Pluralsight author, and the president of ONETUG (Orlando .NET User Group).


Leave a Reply

Your email address will not be published. Required fields are marked *

Are you human? *