I'm creating a query using the SDK for Java.
I want to get the ID from 2 days ago until today.
String wiqlQuery = "Select ID from WorkItems where System.ChangedDate >= @Today-2";
WorkItemCollection workItems = workItemClient.query(wiqlQuery);
I've also tried with this example from the MSDN just to test clause the "WHERE" with dates:
String wiqlQuery = "Select ID from WorkItems where [System.ChangedDate] >= '1/8/06 GMT'";
I got the following message:
Exception in thread "main" java.lang.NullPointerException: timeZone must not be null
Reference: http://msdn.microsoft.com/en-us/library/bb130148%28v=vs.90%29.aspx
Could anyone help me on that?
Thanks in advance.