DCSIMG
Delete TFS 2010 Work Items - Eran Ruso
Sign in | Join | Help

Delete TFS 2010 Work Items

פורסם בתאריך Feb 18 2010, 01:47 PM על ידי Eran Ruso | ישנם 4 תגובות

Many customers ask me about deleting Work Items from the TFS.

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.

For deleting work items in TFS 2008 see:
http://blogs.microsoft.co.il/blogs/eranruso/archive/2009/08/10/delete-tfs-work-items.aspx

Have Fun!!!

רשימת תגובות

# re: Delete TFS 2010 Work Items

פורסם בתאריך Monday, April 26, 2010 4:42 PM על ידי Christopher Haviland  

What if you don't have witadmin.exe?  (I have TFS installed on a workstation, though I'm not sure if that is the reason I don't have witadmin.exe.)

# re: Delete TFS 2010 Work Items

פורסם בתאריך Saturday, May 01, 2010 6:59 PM על ידי Eran Ruso  

The witadmin.exe comes with the Team Explorer installation and not with the TFS installation.

All you have to do is just to install the Team Explorer 2010 and you will have it!

Have Fun!!!

Eran Ruso

# re: Delete TFS 2010 Work Items

פורסם בתאריך Monday, July 19, 2010 4:05 PM על ידי Joel Kotarski  

Thanks for this tip!

# re: Delete TFS 2010 Work Items

פורסם בתאריך Tuesday, November 02, 2010 10:21 PM על ידי Jatinder Amar  

Very useful tip. I used it an dworked like a charm.

שלח תגובה

(שדה חובה) 
(שדה חובה) 
(אופציונלי)
(שדה חובה) 

Enter the numbers above: