关闭他人的代码审查 TFS 2015 [英] Close someone else's code review TFS 2015

查看:22
本文介绍了关闭他人的代码审查 TFS 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我负责的开发人员团队的人员流动率很高.我有 100 个处于请求"状态的代码审查,因为开发人员在离开公司之前没有关闭它们.我通过右键单击并分配给自己的方式在 TFS 中获得了这些所有权,但它没有给我关闭的选项.

根据

进入查询模式后,单击保存查询"以保存您的代码审查查询.现在点击在 Excel 中打开查询"按钮

这会为您打开一个 Excel 表格.更改您要更新的每个代码审查工作项的状态.然后单击团队"菜单并使用发布"按钮在 TFS 中进行更改.

I am in charge of a team of developers that has experienced a high rate of turnover. I have 100 some code reviews in "requested" status because the developer didn't close them before leaving the company. I took ownership of these in TFS by right clicking and assigning to myself, but it is not giving me the option of closing.

According to this link I should be able to download an excel sheet and do a "bulk" update:

Please try this workaround: create a work query to get all that user’s Code Review Request work items which in Requested state, save this work item query and open this query in Excel, then edit them work items in Excel to change the state to Closed, then click Publish button to publish the updates to TFS Server.

I do not see any way to do this either.

What are my options here?

解决方案

All code review requests are in fact a TFS work item. You can close them in bulk by bulk updating them using Excel, just as you would do for any other work item.

The way to do is to open your code reviews query from the link on the top right of Code Reviews section in Team Explorer

Once you are in query mode, click on "Save query" to save your code review query. Now click on the "Open query in Excel" button

This would open up an excel sheet for you. Change the State of each of code review work item that you would like to update. Then click on the the Team menu and use the "Publish" button to make your changes in TFS.

这篇关于关闭他人的代码审查 TFS 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆