我下载了处理模板。
通过为它添加这些新状态和状态转换来更新Bugs进程模板。
新增状态
“合并到UAT” “发布到UAT” “合并到主干” “发布到PROD”
<STATE value="New">
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedReason">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ActivatedBy">
<EMPTY/>
</FIELD>
</FIELDS>
</STATE>
<STATE value="Active">
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ResolvedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedBy">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ResolvedReason">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy">
<EMPTY/>
</FIELD>
</FIELDS>
</STATE>
<STATE value="Resolved">
<FIELDS>
<FIELD refname="Microsoft.VSTS.Common.ClosedDate">
<EMPTY/>
</FIELD>
<FIELD refname="Microsoft.VSTS.Common.ClosedBy">
<EMPTY/>
</FIELD>
</FIELDS>
</STATE>
<STATE value="Closed"/>
<STATE value="Merged to UAT"/>
<STATE value="Released to UAT"/>
<STATE value="Merged to Trunk"/>
<STATE value="Released to PROD"/>
我添加了新的状态转换
<TRANSITION from="Resolved" to="Merged to UAT">
<REASONS>
<DEFAULTREASON value="Merged to UAT"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Merged to UAT" to="Released to UAT">
<REASONS>
<DEFAULTREASON value="Released to UAT"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Merged to UAT" to="Closed">
<REASONS>
<DEFAULTREASON value="Not Releasing to Prod"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Released to UAT" to="Merged to Trunk">
<REASONS>
<DEFAULTREASON value="Merged to Trunk"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Released to UAT" to="Closed">
<REASONS>
<DEFAULTREASON value="Not releasing to PROD"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Merged to Trunk" to="Closed">
<REASONS>
<DEFAULTREASON value="Not Releasing to Prod"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Merged to Trunk" to="Released to PROD">
<REASONS>
<DEFAULTREASON value="Released to PROD"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
<TRANSITION from="Released to PROD" to="Closed">
<REASONS>
<DEFAULTREASON value="Approved in Prod"/>
</REASONS>
<FIELDS>
<FIELD refname="System.AssignedTo">
<COPY from="currentuser"/>
</FIELD>
</FIELDS>
</TRANSITION>
能够成功导入模板。
但即使添加了这些,我也看不到可用于过渡虫的状态。
我已经重新启动了Visual Studio,并且确保我断开并重新连接TFS认为它是一个缓存问题。
答案 0 :(得分:0)
我发现了这个问题。我们无法更新现有项目的流程模板。
我在集合中创建了一个新项目,我看到了要关联的新Process模板。使用新构建的流程模板创建新项目后,可以使用所有状态。
另一个选项如此链接所述。 (**尚未尝试过)
https://adamstephensen.com/2013/08/01/adding-a-testing-column-to-your-tfs-2012-task-board/