使用 WIQL 检索 TFS 中团队查询的结果

发布于 2024-12-29 06:35:31 字数 210 浏览 5 评论 0原文

有没有办法使用 WIQL 检索团队查询的内容?

背景:我正在为输入 TFS 的新错误整理一个 RSS 提要。我可以为要包含的工作项类型和状态编写特定的 WIQL 查询,但我宁愿只包含团队查询的名称 - 这样就可以在 RSS 源 URL 的查询字符串中指定团队查询名称,并且您可以使用它来观看任何一组工作项目。方便吧?我只是不确定 WIQL 是否可以从团队查询中选择项目。以前有人这样做过吗?

Is there a way to retrieve the contents of a Team Query using WIQL?

Background: I'm throwing together an RSS feed for new bugs entered into TFS. I could write a specific WIQL query for which work item types and states to include, but I'd rather just include the name of a team query - that way the team query name could be specified in the querystring of the RSS feed's URL, and you could use it to watch any set of work items. Handy, right? I'm just not sure whether WIQL can select items from a Team Query. Anybody done that before?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

鹤舞 2025-01-05 06:35:32

不可以,无法从 WIQL 中引用或访问团队查询。查询存储在 TFS 中查询引擎无法访问的单独子系统中。

虽然它不是 RSS,但您可能需要查看 Team Foundation Server 2010 的 OData 服务

No, there is no way to refer to or access a Team Query from within WIQL. The queries are stored in a separate subsystem in TFS that the query engine can't access.

Although it's not RSS, you might want to take a look at the OData Service for Team Foundation Server 2010.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文