如何确定与 TFS 2010 中的源分支关联的工作项? [英] How to determine the work items associated with a source branch in TFS 2010?

查看:28
本文介绍了如何确定与 TFS 2010 中的源分支关联的工作项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在开发分支中针对工作项签入我的源代码.所有签入都必须具有关联的工作项.因此,当我查看分支上的历史记录时,我可以看到与该分支关联的所有工作项.

I check in in my source code in the development branch against work items. All checkins are required to have an associated work item. So when I view history on the branch, I can see all of the work items associated with that branch.

与此同时,我正在当前发布分支中修复错误.此外,那些与他们自己的工作项目相关联.

In the meantime, I'm doing bug fixes in the current release branch. Also, those are associated with their own work items.

当需要发布另一个版本时,我们将 release 合并到 main 以获取生产错误修复,将 development 合并到 main 以获取新功能,然后最后从 main 创建一个新的 release 分支.

When the time comes for another release, we merge release to main to pick up production bug fixes, development to main to pick up the new functionality and then finally create a new release branch from main.

我的问题是,我希望能够在我的新发布分支上查看历史记录"(或另一个可以为我提供所需数据的命令),并查看与上一个发布版本中的错误修复相关联的变更集以及组合起来形成发布分支的开发分支.有没有办法做到这一点?

My question is, I want to be able to "View History" (or another command that will give me the data I want) on my new release branch and see the changesets that were associated the bug fixes in the last release build and the development branch that combined to make that release branch. Is there a way to do this?

本质上,我们需要一种方法来查看为特定发布分支解决了哪些工作项.此外,我们希望能够搜索工作项 ID 并查看哪个发布分支修复了它.

Essentially we need a way to see what work items were resolved for a particular release branch. Also, we'd want to be able to search for a work item ID and see what release branch fixed it.

抱歉,如果不清楚,我正在学习其中的一些内容.

Sorry if this is unclear, I'm learning some of this as I go.

推荐答案

我认为没有任何命令可以解决这个问题.最好的方法是使用 TFS2010 中的 Track Changeset 功能.查看此 MSDN 库以获取更多详细信息:

I don't think there is any command exists for this. The bestway is to use the Track Changeset feature in TFS2010. Check this MSDN library for more details:

http://msdn.microsoft.com/en-us/library/dd405662.aspx

在跟踪变更集视图中,您可以右键单击发生变更的分支,然后单击变更集详细信息,这将打开变更集详细信息窗口.在这里,您可以检查具有更改的关联工作项.

In Track Changeset view, you can right click the Branch where changes originated and Click Changeset details which will open up the changeset details window. Here, you can check the associated workitems with that changes.

这篇关于如何确定与 TFS 2010 中的源分支关联的工作项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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