Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete a work item in TFS 2012?

This has been asked before but I'm struggling to find a way to delete a work item in Team Foundation Server. This looks promising: http://devmatter.blogspot.co.uk/2009/04/deleting-work-items-in-tfs-ui.html. But no luck with it so far.

First tried the following command:

witadmin destroywi /collection:"https://<<my TFS collection>>" /id:1223

It returned Unable to destroy work item(s) 1223. TF237090: Does not exist or access is denied.

Unfortunately I can't download the "Delete Work Item" utility mentioned in the article due to work's internet restrictions as it's on Skydrive. Also tried the "TEK workitem" extension (mentioned in a comment at the bottom) but this won't let me either as I'm not a Project Collection Administrator.

Am I doomed to be stuck with this work item forever or is there any other way?

like image 482
Steve Chambers Avatar asked Apr 10 '13 08:04

Steve Chambers


1 Answers

Yes it's a little annoying. Setting the item state to "Removed" will at least hide it from view.

like image 63
David Clarke Avatar answered Sep 17 '22 19:09

David Clarke