在 TFS 2018 中,如何让链接的工作项显示在版本中? [英] In TFS 2018, how do I get linked work items to show up in a release?

查看:23
本文介绍了在 TFS 2018 中,如何让链接的工作项显示在版本中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解如何将工作项链接到构建,但在查看发布结果时,我看到一个部分列出了工作项,您可以比较从不同版本中的工件链接的工作项.

我不明白的是如何让从构建链接的工作项显示在被触发从构建运行的版本中.

这样的事情我怎么办?

例如,

I understand how to link work items to a build, but when viewing release results, I see a section listed for Work Items, and that you can compare work items linked from an artifact in different releases.

What I don't understand is how to get the work item linked from a build to show up in the release that was triggered to run from the build.

How can I do such a thing?

For example, in this post, they show their build results with work items linked, and then show their release with other work items linked. What steps do I have to take to make that happen for me?

解决方案

To get linked work items to show up in a release, you just need to set the builds (show up work items) or the specific sources which associate work items with the changesets as artifact sources.

In the release summary, it compares the current release with the previous release and then displays the newly added work items associated with changesets.

Try below steps to achieve your requirement:

  1. Create a build definition A, map sources to include the files/items will be changed in source control
  2. Edit and modify the files/items, check in the changes with work items associated. (e.g. Task1 here)
  3. Trigger build definition A to queue a build1 (Task1 should display in Build summary)
  4. Create a release definition B, and add build definition A as the artifact source, then create a release. (Task1 should display in release summary)
  5. Edit and modify the files/items second time, check in the changes with work items associated. (e.g. Task2 here)
  6. Trigger build definition A to queue a build2 (Task2 should display in Build summary)
  7. Do not create release here
  8. Edit and modify the files/items third time, check in the changes with work items associated. (e.g. Task3 here)
  9. Trigger build definition A to queue a build3 (Task3 should display in Build summary)
  10. Create a release now, Task2 and Task3 will display in the release summary.

这篇关于在 TFS 2018 中,如何让链接的工作项显示在版本中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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