0

I'd like to use the TFS Java API to run WIQL queries on the workitemlinks. I know how to fetch WorkItems via the WorkItemClient, but it seems to be missing the functionality to fetch WorkItemLinks.

On the other hand, client.supportsLinkQueries() returns true. So: Is there a way to run workitemlinks queries with the TFS Java API?

Fabian Streitel
  • 2,702
  • 26
  • 36

1 Answers1

0

After some more digging around, I found that you can create a link query and run it like this:

WorkItemLinkInfo[] infos = client.createQuery("select * from workitemlinks").runLinkQuery()

Seems like they forgot to add the convenience method to the WorkItemClient.

Fabian Streitel
  • 2,702
  • 26
  • 36