问题描述
在较新的版本中,我可以通过添加列和设置状态来自定义产品积压板.我想在sprint板上执行相同的操作,但是找不到该功能.我改变了您使用Bug的方式,但仍然没有给我我想要的选项.请帮助
In the newer versions I can customize the product backlog board by adding columns and set states. I want to do the same in the sprint board but I can't find that functionality. I've change the way you can work with Bugs but it still don't give me the options I want.Pls Help
推荐答案
对于Visual Studio Team Services(VSO)来说是不可能的,但对于内部部署来说,这是相同的,并且至少从TFS 2012开始就是相同的过程.
Not possible for Visual Studio Team Services(VSO) but for on-premise it is and is the same process since at least TFS 2012.
您将需要更改团队项目的流程模板以包括其他状态.您可以使用 TFS电动工具或执行此操作我更喜欢手动操作.您没有指定要使用的过程模板,所以这里是SCRUM模板(其他将是相同的,只是包含不同的措词):
You will need to alter your process template for the Team Project to include the additional states. You can do this with either TFS Power Tools or I prefer to do it manually. You didn't specify what Process Template you are using so here it is for the SCRUM template (Others will be the same just will contain different wordings):
通过命令行从开发机上导出WITD的任务(我认为它需要Team Explorer):
Export your WITD for Tasks from your dev machine via command line (I think it needs Team Explorer):
witadmin exportwitd /collection:http://servername:8080/tfs/DefaultCollection /p:"TeamProjectName" /n:Task /f:"C:\FileToExportTo.xml"
编辑此文件并找到 WORKFLOW 部分,然后将新状态添加到 STATES 中,例如:
Edit this file and find the WORKFLOW section and add in your new state into STATES e.g:
<STATE value="New State" />
下一步,在 TRANSITIONS 部分中,添加所需的转换以及与之相关的任何逻辑,例如:
Next, in the TRANSITIONS section add in the required transitions and any logic associated with it e.g:
<TRANSITION from="In Progress" to="New State">
<REASONS>
<DEFAULTREASON value="New State Started" />
</REASONS>
</TRANSITION>
保存文件并再次导入:
witadmin importwitd /collection:http://servername:8080/tfs /p:"TeamProjectName" /f:"C:\FileToExportTo.xml"
您应该导出整个过程模板,并将这些文件添加到源代码管理中.如果要对Bug或任何其他工作项类型执行相同的操作,则也需要导出和修改这些WITD.
You should export your entire process template and you should add those files to source control. If you want to do the same for Bugs or any other work item type then you will need to export and modify those WITD's too.
这篇关于如何在Sprint板TFS(而不是积压板)中添加列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!