我想編寫一個查詢,在那裏我可以執行檢索backlog項目,如下圖所示。TFS API C#查詢語法
WorkItemCollection queryResults = workItemStore.Query(
"Select [State], [ID], [Title], [Description] " +
"From WorkItems " +
"Where [Work Item Type] IN ('Task', 'Bug', 'Product Backlog Item')" +
"AND [Iteration Path] Under 'ProjectName'" +
"AND [Area Path] Under 'ProjectName'" +
"And State IN ('New', 'Approved', 'Committed')");
但是,我沒有收到任何數據。不知道如何正確構建查詢。