2

是否可以重置向创建新 WorkItem 查询的用户建议的工作项类型历史记录?

我们有一些 TeamProjects 经历了两个 Process-Template 自定义,包括本地化和 WorkItem 表单布局优化。

借助 TFS 2015,我们终于转向了敏捷流程模板。问题是 TFS 在某处存储了您曾经使用过的 WorkItem-Types 并将它们显示在 WorkItem 查询设计器中。


在此处输入图像描述


中的值Work Item Type混合了德语和英语,并且是从团队项目配置使用的所有过去的流程模板中挑选出来的。

是否可以重置该列表,如果可以,如何重置?

4

2 回答 2

1

The scope of the query editor is for all projects in a give collection. When you open the dropdowns, it thus shows all work item types in any of the projects in the collection.

In TFS 2015 we have added a checkbox to scope your query to the existing project. This checkbox is off by default because the majority of the queries run in the scope of a project. When the checkbox is unchecked, the dropdowns are limited to show only the states, fields and work item types that are in use by the existing project.

screenshot of query across projects

于 2016-01-26T17:35:51.723 回答
0

如果您不需要这些工作项类型和工作项,可以使用witadmin destroywitd来销毁工作项类型,运行销毁命令后,工作项类型将从下拉列表中消失。但请注意,这也将永久销毁该类型的每个工作项而无法恢复。

witadmin destroywitd /collection:CollectionURL /p:Project /n:TypeName [/noprompt]
于 2016-01-26T09:44:34.780 回答