11 Nov

Delete a work Item in TFS

Category:General PostTag: :

I needed to delete a work item in TFS and found that by design it is not easy to do.

I found that this can be done using the TFS Power Tools via the command line.

tfpt.exe destroywi /server:http://ServerName:8080 /workitemid:123

You will get a warning:

This action is not recoverable. Are you sure you want to destroy work item(s)123? (Y/N)

Work item is gone.