ISSUE :
 
Profile photo
Submitted by RaKumar
on September 18th, 2012 at 16:35:12 EST

how to permanently delete TFS work item?

I mistakely created few work items in TFS 2010 and I need to delete them. Is there a way to permanently delete TFS work items?


Profile photo
Replied by SBajra
on September 26th, 2012 at 08:40:47 EST
You should be able to delete work item using command line tool witadmin.exe which comes with Visual Studio 2010 installation. However, this should not be the normal practice to delete work items. As a good practice, work item should not be deleted and should be kept for audit purpose.

Deleting work item:

witadmin destroywi /collection:http://servername:8080/tfs/devcollection1 /id:1234


You will witadmin.exe under your visual studio 2010 installation folder - C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE

For more details on deleting work items:
http://msdn.microsoft.com/en-us/library/dd236908.aspx
Accepted Answer
Accepted
 Answer