今天幫客戶建了一個賬戶,居然發現測試用的work item不能刪去(我是用bug測試的...結果很尷尬),無奈之下只能close.現查了一下msdn發現沒有相關的說明。
我是一個tool一個的查過去,我知道ms喜歡把這種功能放在很人道的地方...結果一無所獲。
我只能google一下,看到ms論壇上有人貼了一段sql,暗示這個sql可以幹掉錯建的workitems,我更加尷尬了...
前段時間還很高興得把tfs2008裝在了2008server上,並且和sps,srs,tswa共存在80連接埠上(終於在日誌中看不到error...)。這件事情反向的證明了我只是在一個叫人尷尬的系統上做了一個美麗的花環...
剛才嚴重的被雷擊了
後記(5:06) :在下載完power tool的同時,我發現了某人的blog上頂置了這麼一段駭人聽聞的話
How to delete a Work Item Type on TFS.
|
You can delete a Work Item Type on TFS 2008. You’ll need to use the power tools: http://msdn2.microsoft.com/en-us/tfs2008/bb980963.aspx. There is a DestroyWITD command.
|
我又反過去尋找了ms的出處
OverviewThe Visual Studio Team System 2008 Team Foundation Server Power Tools is a set of enhancements, tools and command line utilities that improve the Team Foundation Server user experience.
The following tools are installed with this package:
- Command line tool (TFPT.EXE)
- Team Explorer IDE menu additions
- Build Notification tool
- TFS Best Practices Analyzer
- Process Template Editor
- Work Item Templates
- Custom check-in policies
某人很強大,他給了我信心...
ms很人道的把強大的工具放在了網站上供免費的下載,去搶吧...
後後記:
正確的刪除workitem的TFPT.EXE command line是DestroyWI