Preconditon:
1. I have create new work item type: special task
2. now i want to delete 【special task】
steps:
1. type the following command
witadmin.exe destroywitd /collection:http://servername:8080/tfs /p:projectname /n:SpecialTask
get a system error message
TF201077: the work item type SpecialTask cannot be found, it may have been renamed or destroyed
2. update the command
witadmin.exe destroywitd /collection:http://servername:8080/tfs /p:projectname /n:Special Task
get a system error message
TF212000: Case is not a valid argument for this command
3. update the commang again
witadmin.exe destroywitd /collection:http://servername:8080/tfs /p:projectname /n:"Special Task"
I can delete [Special Task] successfully
本文介绍如何通过更新命令行来成功删除自定义的工作项类型'SpecialTask'。经过多次尝试,最终使用包含完整路径及正确参数的命令实现了目标。
4747

被折叠的 条评论
为什么被折叠?



