是否可以获取git提交的关联工作项? [英] Is it possible get retrieve the associate work items for a git commit?
本文介绍了是否可以获取git提交的关联工作项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在浏览VSTS UI时,在提交(git)上,您可以看到关联的工作项。这些是使用AJAX调用来检索的 https:/ /{instance}.visualstudio.com/{project}/_api/_versioncontrol/associatedWorkItems?__v=5。
看来这个调用不在REST API中,也不在客户端库中。不过,我需要检索相关的工作项。是否有一种智能的方式来获得这种关联?
When browsing the VSTS UI, on a commit (git), you can see the associated work items. Those are retrieved using an AJAX call to https://{instance}.visualstudio.com/{project}/_api/_versioncontrol/associatedWorkItems?__v=5. It seems this call is not in the REST API, nor the client libraries. Still, I need to retrieve the associated work items. Rather than going through each work item in the repository, is there a smarted way to get this association?
推荐答案
在浏览VSTS UI时,在提交(git) ,您可以看到相关的工作项。这些是使用AJAX调用来检索的 https:/ /{instance}.visualstudio.com/{project}/_api/_versioncontrol/associatedWorkItems?__v=5。
看来这个调用不在REST API中,也不在客户端库中。不过,我需要检索相关的工作项。不是通过存储库中的每个工作项,是否有一种智能的方式来获得这种关联?
When browsing the VSTS UI, on a commit (git), you can see the associated work items. Those are retrieved using an AJAX call to https://{instance}.visualstudio.com/{project}/_api/_versioncontrol/associatedWorkItems?__v=5. It seems this call is not in the REST API, nor the client libraries. Still, I need to retrieve the associated work items. Rather than going through each work item in the repository, is there a smarted way to get this association?
这篇关于是否可以获取git提交的关联工作项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文