更改 TFS 工作项类型
是否可以更改 TFS 工作项的类型?例如,我有一个 Bug,我想将其更改为更改请求。
Is it possible to change the type of a TFS work item? For example, I have a Bug I would like to change to a Change Request.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如前所述,您无法直接更改工作项类型,但是有一个很好的快捷方式可以为您在这些情况下节省大量时间。它将自动复制指向更改集、测试用例等的链接。
结果: 创建一个新工作项目新类型和旧类型会自动添加为链接,并在历史记录区域中添加注释,说明其复制来源的工作项 ID。
As noted you cannot directly change the work item type however there is a nice shortcut that may save you a lot of time for these scenarios. It will automatically copy links to change sets, test cases etc.
Result: A new work item is created with the new type and the old one automatically added as a link and a comment added to the history area stating the work item ID it was copied from..
不容易。您可以尝试破解数据库,但这确实不是一个好主意。就像在满是碎玻璃的房间里赤脚跳舞,同时玩弄手榴弹一样,这并不是一个好主意。
我建议您为更改请求创建一个新的工作项,将其链接到错误,然后将错误状态设置为过时/已关闭。
Not easily. You could try and hack the database, but that's really not a good idea. Just like dancing barefoot in a room full of broken glass whilst juggling live grenades isn't a good idea.
I'd suggest you create a new work item for the change request, link it to the bug and then set the bug state to obsolete/closed.
现在可以通过在 Web 视图中右键单击工作项并选择更改类型来更改工作项的类型:
这是链接 在上面的屏幕截图中引用。
Changing a work item's type is now possible by right-clicking the work item in the web view and choosing Change Type:
Here's the link referenced in the screenshot above.
至少在 TFS 2012 中是可能的,现在大约 2010 年不会
Possible at least in TFS 2012, don't now about 2010