String wiqlQuery = "Select ID, State from WorkItems where (id in ("
+ ids + "))";
// Run the query and get the results.
WorkItemCollection workItems = client.query(wiqlQuery);
for (int i = 0; i < workItems.size(); i++) {
WorkItem workItem = workItems.getWorkItem(i);
stringStatusMap.put(String.valueOf(workItem.getID()),
(String) workItem.getFields().getField("State")
.getOriginalValue());
openStatusMap.put(String.valueOf(workItem.getID()),