How to delete a work item in TFS 2012?

18,103

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

Share:
18,103
Steve Chambers
Author by

Steve Chambers

LinkedIn profile: linkedin.com/in/stepc

Updated on June 17, 2022

Comments

  • Steve Chambers
    Steve Chambers almost 2 years

    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?