如何知道变更集是否与任何tfs构建相关联 [英] How to know whether a changeset is associated with any tfs build or not

查看:67
本文介绍了如何知道变更集是否与任何tfs构建相关联的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将在2015年的tfs中获得工作项的变更集列表。现在我需要知道这些变更集是否与任何tfs构建相关联。

I will get list of changesets from workitems in tfs 2015/2017. Now I need to know whether these changesets are associated with any tfs build or not.

  https:// {instance} / DefaultCollection / {project} / _apis / build / builds?api-version = {version}

上面的tfs rest api,只提供构建的最新变更集,而不是与构建相关的所有变更集。

有什么方法可以知道这个吗?

谢谢你,

Taj

推荐答案

您好TajuddinMD ,

Hi TajuddinMD,

此REST API可以获取与构建关联的所有变更集:

This REST API could get all the changesets associated with a build:

GET https:// {instance / / DefaultCollection / {project} / _ apis / build / builds / {buildId} / changes?api-version = {version}

有关构建REST API的更多信息,请参阅此链接:

For more information of build REST API, please refer to this link:

https ://www.visualstudio.com/en-us/docs/integrate/api/build/builds#changes

最好的问候


这篇关于如何知道变更集是否与任何tfs构建相关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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