priority = taskJSON.path("priority").getTextValue();
task.setPriority(RequestUtil.parseToInteger(priority));
}
String dueDate = null;
if(taskJSON.path("dueDate") != null && taskJSON.path("dueDate").getTextValue() != null) {
dueDate = taskJSON.path("dueDate").getTextValue();
task.setDueDate(RequestUtil.parseToDate(dueDate));
}
ActivitiUtil.getTaskService().saveTask(task);