How to add columns in sprint board TFS (not backlog board)

与世无争的帅哥 提交于 2019-12-08 11:58:38

问题


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


回答1:


Not possible for Visual Studio Team Services(VSO) but for on-premise it is and is the same process since at least TFS 2012.

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):

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"

Edit this file and find the WORKFLOW section and add in your new state into STATES e.g:

<STATE value="New State" />

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>

Save the file and import it again:

witadmin importwitd /collection:http://servername:8080/tfs  /p:"TeamProjectName" /f:"C:\FileToExportTo.xml"

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.



来源:https://stackoverflow.com/questions/34150657/how-to-add-columns-in-sprint-board-tfs-not-backlog-board

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!