public static TaskRef task(TaskSummary task) {
   return new TaskRef(
       task.getId(),
       // TODO: fixme
       "",
       "",
       task.getName(),
       task.getActualOwner() == null ? null : task.getActualOwner().getId(),
       false,
       false);
 }