如何将 TFS 项目 url 映射到可查看的内容 [英] How to map a TFS item url to something viewable

查看:34
本文介绍了如何将 TFS 项目 url 映射到可查看的内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在根据自上次部署构建以来的变更集和相关工作项的历史记录,以编程方式生成部署电子邮件.它们看起来有点像 Visual Studio 中的构建摘要信息(但结合了许多构建).

We are programmatically generating deployment emails, based on the history of changesets and associated workitems since the last deployed build. They look a bit like the build summary info inside Visual Studio (but with many builds combined).

数据中似乎有一些有用的 URL(例如 vstfs:///VersionControl/Changeset/205151),但我不熟悉 TFS SDK,如果/如何映射到可查看项目(例如 http://tfsserver:port/somepath/...).Visual Studio 中的构建摘要链接是可点击的,但它们是 VS 专用链接吗?

There appear to be useful URLs in the data (like vstfs:///VersionControl/Changeset/205151), but being new to the TFS SDK I do not if/how this maps to a viewable item (e.g. http://tfsserver:port/somepath/...). The build summary links inside Visual Studio are clickable, but are they VS-only links?

如果可能,我们希望在电子邮件中包含打开相关项目的链接(在浏览器中?),所以我想我需要知道 TFS 路径是否可以通过网络浏览,如果可以,如何?

If possible we want to include links in the email that open the related item (in a browser?), so I guess I need to know if TFS paths are web-browsable and if so, how?

欢迎提出建议.谢谢.

推荐答案

以下似乎是访问工作项的标准 url

The following seems to be the standard url for accessing work items

http://TFS_Name:port_number/WorkItemTracking/Workitem.aspx?artifactMoniker=work_Item_Id

这篇关于如何将 TFS 项目 url 映射到可查看的内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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