TFS构建关联错误的工作项 [英] TFS build associating wrong workitems

查看:104
本文介绍了TFS构建关联错误的工作项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi All



我有一个关于TFS任务工作中的Integration字段的查询项目。我们为产品系列提供Dev和Release分支。作为计划开发活动的一部分,我们在Dev分支中进行更改,并将
变更集与工作项关联。到现在为止还挺好。现在我们有时会看到当QA触发Release分支的构建时,在Dev中完成的签入显示在Associated Changesets和Associated Workitems中。  这些工作项的集成字段
将从Release分支更新为新的内部版本号。如果有人可以分享他们对可能造成这种情况的意见,那将会很棒。


谢谢



Sandeep

解决方案

您好Sandeep,    


感谢您的帖子。


您使用哪个默认流程模板创建的TFS和当前团队项目的版本是什么?


您自定义了任务工作项类型以添加​​该模板整合领域?如果是,您为此集成字段设置了哪些规则?请在此处分享详细信息。


如果您为Integration字段设置了以下规则,并且"Builds -
teamprojectname
"是您的团队项目Build生成的默认全局列表,当前团队项目中的所有构建号将显示在Integration字段中。 


  < SUGGESTEDVALUES expanditems =" true" filteritems =" excludegroups">


    < GLOBALLIST name =" Builds - teamprojectname " />


  < / SUGGESTEDVALUES>


Hi All

I have a query regarding the Integration field in the TFS task work item. We have Dev and Release branches for a product line. As part of the planned development activity, we make changes in the Dev branch and associate the changesets to work items. So far so good. Now we are seeing at times that when QA triggers the build for Release branch, the check-ins done in Dev are showing in Associated Changesets and Associated Workitems.  Integration field for those work items is getting updated to the new build number from the Release branch. Would be great if someone can share their inputs on what could be causing this

Thanks

Sandeep

解决方案

Hi Sandeep,    

Thanks for your post.

What’s the version of your TFS and you current team project created using which default process template?

You customized your Task work item type to add that Integration field? If yes, which rule(s) you set for this Integration field? Please share the detailed information here.

If you set below rule for your Integration field, and that "Builds - teamprojectname" is the default global list which generated by your team project Build, all the build numbers which in your current team project will show in your Integration field. 

  <SUGGESTEDVALUES expanditems="true" filteritems="excludegroups">

    <GLOBALLIST name="Builds - teamprojectname" />

  </SUGGESTEDVALUES>


这篇关于TFS构建关联错误的工作项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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