使用 WIQL 检索 TFS 中团队查询的结果
有没有办法使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不可以,无法从 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.