是否可以将工作项链接到版本? [英] Is it possible to link a work item to a release?

查看:61
本文介绍了是否可以将工作项链接到版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们希望将TFS工作项链接到发布,以便我们可以轻松地通过单击发布来打开包含有关此发布的更多信息的TFS项.诸如发行说明等信息.

We would like to link a TFS work item to a Release so we can easily, with one click from the Release, open a TFS item that contains more info about this release. Info like Release Notes etc.

有可能吗?发行版具有创建发行版时可以设置的这些变量,但它们不包含(可单击链接).

Is it possible? A release has these variables that can be set when the release is created but they won't hold a (clickable link).

推荐答案

我们暂时无法链接现有版本的工作项,已经有一个

We cannot link work items for an existing release for now, there's already a user voice submitted here to suggest the feature, you can go and vote it up or submit a new one to achieve that in future release.

但是,您可以从变更集中链接工作项,请尝试以下步骤:

However you can link work items from changeset, try below steps:

  1. 将工作项关联到签入更改

然后在构建管道的Option下启用Automatically link new work in this build.因此,当构建成功完成时,它将创建指向链接到相关更改的所有工作项的链接.请参阅自动链接工作项来构建以获取详细信息.

Then enable Automatically link new work in this build under Option in the build pipeline. Thus when a build completes successfully, it will create links to all work items linked to associated changes. See Automatic linking work items to builds for details.

创建一个发布管道,并将在步骤2中创建的内部版本设置为工件源( 对于CI/CD ).

Create a release pipeline and set the build which created in step2 as the artifacts source (For CI/CD).

您还可以为发布管道中Option下的阶段启用Report deployment status to Work( 用于将存储库设置为工件源 ),从而在阶段完成时,它将创建所有链接到相关更改的工作项的链接.

You can also enable Report deployment status to Work for the stages under Option in the release pipeline (For set the repository as artifacts source ), thus when the stage completes, it will create links to all work items linked to associated changes.

请注意,在版本摘要中,它将当前版本与先前版本进行比较,然后显示与变更集关联的新添加的工作项.因此,如果您使用相同的工件来源 创建两个版本,则第二个版本将不包含工作项...您可以参考此主题以获取详细信息:在TFS 2018中,如何获得链接的工作项以显示在版本中?

Please note that in the release summary, it compares the current release with the previous release and then displays the newly added work items associated with changesets. So if you create two releases with the same artifacts source, then the second release will not include the work items... You can reference this thread for details: In TFS 2018, how do I get linked work items to show up in a release?

这篇关于是否可以将工作项链接到版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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