【问题标题】:Tfs project creation results in error: TF400930: Field 'System.ExternalLinkCount' is defined multiple timesTfs 项目创建导致错误:TF400930: Field 'System.ExternalLinkCount' is defined multiple times
【发布时间】:2017-01-14 02:13:10
【问题描述】:

我最近将本地 Team Foundation Server 从 Tfs 2015 升级到 Tfs2015.Update3 (14.102.25423.0) 升级已完成,所有其他功能似乎都照常工作。 大约一天前,我尝试创建一个新的 Tfs 项目 (TFVC),结果出现错误。

当我查看应用层日志文件时,我看到以下内容:

[10:31:30.153] Executing step: Create the Team Project.
[10:31:30.167]   Executing step: 'Create the Team Project.' WorkItemTracking.CreateTeamProject (4 of 13)
[10:31:30.183]   Getting process template.
[10:31:31.463]   Refreshing server caches.
[10:31:31.463]   Importing work item link types.
[10:31:32.180]   Importing work item types
[10:31:33.727]   Importing work item types
[10:31:34.413]   [Error] TF400930: Field 'System.ExternalLinkCount' is defined multiple times with different field definitions. Correct the field definition and try again.
[10:31:34.507]   Microsoft.TeamFoundation.WorkItemTracking.Server.LegacyValidationException: TF400930: Field 'System.ExternalLinkCount' is defined multiple times with different field definitions. Correct the field definition and try again.
[10:31:34.507]      at Microsoft.TeamFoundation.WorkItemTracking.Server.ProvisioningService.InternalImportWorkItemTypesOrGlobalWorkflows(IVssRequestContext requestContext, Int32 projectId, String methodologyName, IEnumerable`1 typeElements, ProvisioningActionType actionType, InternalSchemaType schemaType, Boolean overwrite, ProvisioningImportEventsCallback importEventCallback)

不幸的是,我们正在使用自定义模板(基于 Scrum 模板),而正是这个模板导致了错误。 在基于标准 Scrum 或敏捷模板创建新的 Tfs 项目 (TFVC) 时,它可以正常工作。

我下载了有问题的自定义 scrum 模板,并在“System.ExternalLinkCount”上进行了 grep 搜索。 当我查看这些字段时,它们似乎确实属于同一类型。 有什么想法或建议为什么它会以这种方式出现?

【问题讨论】:

    标签: tfs tfs-2015 tfs-workitem tfs-process-template


    【解决方案1】:

    您可以从这些工作项中删除字段定义,这是一个标准字段,将自动添加到您的所有工作项类型中。

    【讨论】:

    • 从模板中删除“System.ExternalLinkCount”字段引用并上传后,我尝试基于此流程模板创建一个新项目。然后由于类似的原因失败了,这一次轮到“System.NodeName”造成严重破坏。我也删除了对它的引用,这就成功了!谢谢@jessehouwing,非常感谢! :) 我认为这也会自动添加到所有工作项类型中?
    猜你喜欢
    • 2010-12-06
    • 2019-04-04
    • 1970-01-01
    • 1970-01-01
    • 2022-01-11
    • 2018-02-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多