(1) Delete the work item in the database.
delete from dbo.WorkItemsLatest where ID = ?"
delete from dbo.WorkItemsAre where ID = ?"
delete from dbo.WorkItemsWere where ID = ?"
delete from dbo.WorkItemLongTexts where ID = ?"
delete from dbo.WorkItemFiles where ID =? "Warning: You need to also possibly delete rows in the Attachments database and the work item will still be in the data warehouse.
(2) Get the latest TFS Power Tools (see http://msdn2.microsoft.com/en-us/tfs2008/bb980963.aspx) and use the "tfpt destroywitd" command.
Warning: The work item will still be in the data warehouse as this only deletes them from the operational store.
No comments:
Post a Comment