我需要查找TFS項目中所有在最近2周內嚴重性更改爲高的錯誤。 我只能發現,在過去的2周高嚴重性與下面的查詢打開的錯誤:查找TFS上嚴重性更改的錯誤
<?xml version="1.0" encoding="utf-8"?>
<WorkItemQuery Version="1">
<TeamFoundationServer>http://tfs-srv:8080/tfs/defaultcollection</TeamFoundationServer>
<TeamProject>Project</TeamProject>
<Wiql>SELECT [System.Id], [System.WorkItemType], [System.Title], [System.AssignedTo],[System.State] FROM WorkItems WHERE [System.TeamProject] = @project AND [System.WorkItemType] = 'Bug' AND [Microsoft.VSTS.Common.Severity] = 'High' AND [System.CreatedDate] > @today - 14 ORDER BY [System.Id] </Wiql>
</WorkItemQuery>