Not Monitored
Tag not monitored by Microsoft.
43,969 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to get the list of workitems of a particular team.
I have used below WIQL API for the requirement
POST https://dev.azure.com/{organization}/{project}/{team}/_apis/wit/wiql?api-version=7.0
The API is expecting query in the body. So I passed the query with iteration filter in it.
{
"query": "Select [System.Id], [System.Title], [System.State] From WorkItems WHERE [System.IterationPath] = 'test\Sprint 19' AND [System.ChangedDate] >= '2023-01-01T00:00:00.0000000'"
}
When I use the above query for two different teams and with the same iteration path, it is giving the same response.
Could you please help me understand how I can differentiate the workItems of different teams?