Error Message: You cannot supply a time with the date when running a query using date precision
URL: https://[Account].visualstudio.com/DefaultCollection/_apis/wit/wiql?api-version=1.0-preview.2
Body:
{
"query": "SELECT [System.Id] FROM WorkItems
WHERE [System.WorkItemType] = 'Bug'
and [System.TeamProject] in ('Project1')
and ((([System.ChangedDate] > '2014-10-07 18:30:00.000')) and ([System.CreatedDate] <= '2014-10-08 18:30:00.000'))"
}
I want to consider Time precision as well with date, and even when we are fetching work item information using rest api call in that case system.changedate is actually datetime field.
so why its not allowing in query.
Is there any way such that query consider datetime precision for these fields.
Please Reply ASAP
while executing following query using rest api getting error