MicrosoftDocs / vsts-rest-api-specs

MIT License
169 stars 116 forks source link

Need help to get the workitems according the startDatetime parameter. #154

Open prabhuMahendran opened 5 years ago

prabhuMahendran commented 5 years ago

I had used the below end point for get the current date bugs from workitems.

https://<devazurecom>/<account>/<teamproject>/_apis/wit/reporting/workitemrevisions?startDateTime=2018-01-28&types=Bug&includeLatestOnly=true&$maxPageSize=100

It retrieve the all data according to the date "2018-01-28". But also it gets the data from older date in which i have last modified on "2018-01-25".

I don't know why it happened.

Please correct me if anything am doing wrong.

Regards, Prabhu mahendran


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

MichaelPlourde commented 5 years ago

Hey @prabhuMahendran !

I know it's been a long time since you ask this question, but the problem in your request is the date format. Try with a date like: 2019/06/17T00:00:00z.

Hope I could help 😃