2010-07-27 44 views
0

当我从Team Review导入工作项类型,我得到这个错误:错误而导入工作项类型 - TFS

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定义改变吗?

回答

0

首先,检查您是否在“Project2”中拥有管理员权限。如果这不起作用,请导出Project2中的其中一个WorkItemTypes,然后检查XML。寻找上述领域:

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

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

+0

当我试图将WIT导入到Project1时,为什么我需要Project2上的管理权限?另外,我还没有修改XML。这对于vanilla TFS安装很有效,但是与我试图执行的分段安装相冲突。 – Nick 2010-07-28 13:19:31

+0

看看错误消息,它看起来好像是试图导入Project2,而不是Project1。 – Robaticus 2010-07-28 13:20:35

0

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

你有两个选择:

  1. 获取权限到Project允许你改变你的XML以匹配PROJECT1的设置字段设置
  2. 更改设置。
相关问题