returnt('%s change the assignee of the task #%d to %s',$event['author'],$event['task']['id'],$event['task']['assignee_name']?:$event['task']['assignee_username']);
caseTask::EVENT_UPDATE:
returnt('%s updated the task #%d',$event['author'],$event['task']['id']);
caseTask::EVENT_CREATE:
returnt('%s created the task #%d',$event['author'],$event['task']['id']);
caseTask::EVENT_CLOSE:
returnt('%s closed the task #%d',$event['author'],$event['task']['id']);
caseTask::EVENT_OPEN:
returnt('%s open the task #%d',$event['author'],$event['task']['id']);
caseTask::EVENT_MOVE_COLUMN:
returnt('%s moved the task #%d to the column "%s"',$event['author'],$event['task']['id'],$event['task']['column_title']);
caseTask::EVENT_MOVE_POSITION:
returnt('%s moved the task #%d to the position %d in the column "%s"',$event['author'],$event['task']['id'],$event['task']['position'],$event['task']['column_title']);
caseSubTask::EVENT_UPDATE:
returnt('%s updated a subtask for the task #%d',$event['author'],$event['task']['id']);
caseSubTask::EVENT_CREATE:
returnt('%s created a subtask for the task #%d',$event['author'],$event['task']['id']);
caseComment::EVENT_UPDATE:
returnt('%s updated a comment on the task #%d',$event['author'],$event['task']['id']);
caseComment::EVENT_CREATE:
returnt('%s commented on the task #%d',$event['author'],$event['task']['id']);