识别已通过VSTS API发布的工作项 [英] Identifying work items which have been released via VSTS API

查看:58
本文介绍了识别已通过VSTS API发布的工作项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图确定哪些VSTS工作项已发布到给定的环境(生产).理想的情况是寻找一个服务钩子来告诉我何时部署工作项目,以便我们可以使公司的其他部门随时了解何时部署工作项目.

在VSTS API中找不到可用的内容.

在VSTS UI的发行摘要"选项卡下,它显示了链接的工作项.但是,链接的工作项似乎无法通过API使用.因此,您只需要创建一个Service Hook for Release部署完成事件,并创建一个Web服务来侦听此事件.

Trying to determine which VSTS Work Items have been released to a given Environment (production). Ideally looking for a Service Hook to tell me when work items are deployed so we can keep the rest of the company updated on when items are deployed.

Cannot find this available in the VSTS API.

In the VSTS UI under the Release Summary tab it shows linked Work Items. However linked Work Items don't appear to be available via the API. VSTS API docs for Get Release

In the VSTS UI under each Work Item, it shows when it was integrated into a build, however not when that build has been released.

Any ideas?

解决方案

For your question:

Ideally looking for a Service Hook to tell me when work items are deployed so we can keep the rest of the company updated on when items are deployed.

The deployed work items information is already included in the Release Deployment Service Hooks as below: So you just need to create a Service Hook for Release deployment completed event and create a web service to listen on this.

这篇关于识别已通过VSTS API发布的工作项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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