0

当我从Team Review导入工作项类型时,我收到此错误:

TF218007: Cannot import the work item type. It changes fields in team projects
in which you do not have permissions to make changes. Correct this problem by
changing the definition of the work item type so that it does not change the
name or reporting behavior of these fields:
Microsoft.VSTS.Common.StateChangeDate, System.ExternalLinkCount,
System.HyperLinkCount, System.AttachedFileCount
Or obtain permissions to make
changes to these team projects: Project2
Operation failed.

我应该在 WIT 定义中更改什么?

4

2 回答 2

0

首先,检查您是否在“Project2”中拥有管理员权限。如果这不起作用,请导出 Project2 中的 WorkItemType 之一,然后检查 XML。查找提到的字段:

Microsoft.VSTS.Common.StateChangeDate、System.ExternalLinkCount、System.HyperLinkCount、System.AttachedFileCount

并确保 WorkItemType 中的定义与它们匹配。听起来您可能以某种方式删除或修改了这些字段。

于 2010-07-27T23:51:21.313 回答
0

Project1 中已经存在这些字段。您正在尝试将相同的字段导入 Project2,但具有不同的 name="" 和 reportingtype="" 设置。由于您无权更改 Project1 中的定义,因此服务器会阻止您上传类型。

你有两个选择:

  1. 获取允许您更改字段设置的 Project1 的权限
  2. 更改 XML 中的设置以匹配 Project1 中的设置。
于 2010-08-08T23:27:52.307 回答