Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 TFS Java API 在workitemlinks. 我知道如何通过 WorkItemClient 获取 WorkItems,但它似乎缺少获取 WorkItemLinks 的功能。
workitemlinks
另一方面,client.supportsLinkQueries()返回true。那么:有没有办法workitemlinks使用 TFS Java API 运行查询?
client.supportsLinkQueries()
true
经过一番挖掘,我发现您可以创建一个链接查询并像这样运行它:
WorkItemLinkInfo[] infos = client.createQuery("select * from workitemlinks").runLinkQuery()
似乎他们忘记将便捷方法添加到 WorkItemClient。