How to delete TFS work items
-
7 iunie 2010 09:26
Hi,
I am wondering if there is any way to permanently delete work items from TFS 2010. I cant find any option to do so from visual studio IDE.
Toate mesajele
-
7 iunie 2010 09:31
You can delete TFS work items using following commands
In TFS 2008 you need to have power tools and use following command
tfpt destroywi /server:tfsservername /workitemid:value1[,value2,...] [/noprompt]
While in TFS 2010 you can use the command below
witadmin destroywi /collection:collectionurl /id:id [/noprompt]
for details refer following link
http://ravendra.wordpress.com/2010/06/02/how-to-permanently-delete-work-item-tfs-2010-2008/
- Marcat ca răspuns de dadu28 7 iunie 2010 09:38
-
7 iunie 2010 09:38Thanks Ravendra, This worked for me.
-
21 aprilie 2012 04:37
in TFS 2010 there is the correct way
Here is how to do it for TFS 2010:
Step 1: Log-in to the TFS using a TFS administrator
user.Step 2: Open a command line and go to:
32bit machine - “X:\Program Files\Microsoft Visual Studio 10.0\Common 7\IDE”
64bit machine - “X:\Program Files (x86)\Microsoft Visual Studio 10.0\Common
7\IDE”Step 3: Use the “witadmin.exe destroywi” command in the
following way:witadmin.exe destroywi
/Collection:http:\\[ServerName]:8080\tfs\[CollectionName] /id:[WI ID]you can add as many Work Item IDs as you like using [,] for example 54,88,92
etc.You can disable the prompt message by using /noprompt.
source : TFS 2010
Best Regards A.Alzikan
-
26 aprilie 2012 06:25
Hi
If you want to delete workitems permanently from Visual Studio, you need to implement a Visual Studio extension or use an existing visual Studio extension that allow that.
Look at TFS Extensions Kit. TEK workitem in Visual Studio Gallery. May be you find it interesting.
Regards