导入工作项类型时出错 - TFS

时间:2010-07-27 22:12:55

标签: visual-studio tfs tfs2010 tfs-workitem

当我从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定义中更改什么?

2 个答案:

答案 0 :(得分:0)

首先,检查“Project2”中是否有管理员权限。如果这不起作用,请导出Project2中的一个WorkItemTypes,并检查XML。查找上述字段:

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

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

答案 1 :(得分:0)

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

您有两种选择:

  1. 获取允许您更改字段设置的Project1权限
  2. 更改XML中的设置以匹配Project1中的设置。
相关问题