I am doing a query with the tfs work item query action and get the followning error.
what am I doing wrong or does it not support this?
Querying for work items...
Connecting to server 'http://tfsdev:8080/tfs/defaultcollection' using current credentials...
Authenticating...
Work item query : SELECT [System.Id], [System.Links.LinkType], [System.WorkItemType], [System.Title], [System.AssignedTo], [System.State]
FROM WorkItemLinks
WHERE ([Source].[System.TeamProject] = @project
AND [Source].[System.WorkItemType] = 'Product Backlog Item'
AND [Source].[System.State] = 'Committed')
And ([System.Links.LinkType] = 'System.LinkTypes.Hierarchy-Reverse')
And ([Target].[System.WorkItemType] = 'Sprint'
AND [Target].[System.Id] = 166) ORDER BY [System.Id]
mode(MayContain)
Could not execute query : TF248021: You have specified a query string that is not valid when you use the query method for a flat list of work items. You cannot specify a parameterized query or a query string for linked work items with the query method you specified.
Thanks,
Garth