TFS竟然不能删除work item?!

Posted on 2008-04-14 16:34  A.Z  阅读(3448)  评论(27编辑  收藏  举报
今天帮客户建了一个账户,居然发现测试用的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的出处

Overview

The 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