1

Our TFS 2012 team project was migrated to a new TFS2013 server with all data.

When I now try to activate the new "Portfolio Backlog" feature the following error is presented:

[Error] TF400618: The reporting type of field 'Microsoft.VSTS.Common.StateChangeDate' in work item type 'Feature' conflicts with the reporting type of the existing field

In Scrum 2.2 the type definitions of SharedStep and TestCase have this field definition

 <FIELD name="State Change Date" refname="Microsoft.VSTS.Common.StateChangeDate" type="DateTime">
        <WHENCHANGED field="System.State">
          <SERVERDEFAULT from="clock" />
        </WHENCHANGED>
        <WHENNOTCHANGED field="System.State">
          <READONLY />
        </WHENNOTCHANGED>
      </FIELD>

In the Scrum 3.0 additional the Feature has these field.

In the MSDN under TF400618: The reporting type of field '{0}' in work item type '{1}' conflicts with the reporting type of the existing field. I'm not understanding what I need to do to resolve the issue with the feature field.

Do I need to manually alter the scrum 2.2 process template with the feature work item type , publish the changed process template into the team project and than activate the "Portfolio Backlog"?

4

2 回答 2

1

在执行以下所有步骤后,我无法配置功能:http: //msdn.microsoft.com/en-us/library/ms194972 (v=vs.120).aspx

因此,我更新了 Feature.xml,将“状态更改日期”字段名称作为可报告选项设置为“维度”在此更改之后,我将默认模板更新为我自定义的模板,并且能够配置功能。以下是 Feature.xml 中更新后的代码的外观:

<FIELD name="State Change Date" refname="Microsoft.VSTS.Common.StateChangeDate" type="DateTime" reportable="dimension" >
于 2014-06-13T22:20:00.927 回答
1

修改流程模板后,TFS 无法自动为其安装新更新。以下是有关如何手动更新它的指南:http: //msdn.microsoft.com/en-us/library/ms194972 (v=vs.120).aspx

我建议您改为在批处理文件中编写您的流程模板更改脚本,这样当新版本出现时,您可以轻松地在新模板中重复您的更改,而不是通过上面的 12 步手动流程。

于 2014-03-29T03:14:04.080 回答