开发者

Error while importing Work Item Type - TFS

When I import a Work Item Type from Team Review, I get this error:

TF218007: Cannot import the work item type. It changes fields in team projects
in which you do not have permissions to make changes. C开发者_如何学Goorrect 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.

What should I change in the WIT definition?


First off, check to see if you have administrator priveliges in "Project2." If that doesn't work, export one of the WorkItemTypes in Project2, and examine the XML. Look for the mentioned fields:

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

And make sure the definition in your WorkItemType matches them. It sounds like you may have either deleted or modified those fields somehow.


Those fields already exist in Project1. You are trying to import the same fields into Project2, but with different name="" and reportingtype="" settings. Since you don't have permissions to change the definitions in Project1, the server is preventing you from uploading the type.

You have two options:

  1. Get permissions to Project1 that allow you to change the field settings
  2. Change the settings in your XML to match the settings from Project1.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜