Configuration configuration = getRepositoryConfiguration(taskRepository);
Assert.isNotNull(configuration);
//Set CompletionDate, if Closed-Status
TaskAttribute attribute = taskData.getRoot().getMappedAttribute(RedmineAttribute.STATUS.getTaskKey());
IssueStatus issueStatus = configuration.getIssueStatuses().getById(RedmineUtil.parseIntegerId(attribute.getValue()));
if(issueStatus==null) {
IStatus status = new Status(IStatus.ERROR, RedmineCorePlugin.PLUGIN_ID, Messages.ERRMSG_MISSING_ISSUE_STATUS+attribute.getValue());
StatusHandler.log(status);
} else {
if(issueStatus.isClosed()) {
Date date = task.getCompletionDate();
attribute = taskData.getRoot().getMappedAttribute(RedmineAttribute.DATE_UPDATED.getTaskKey());
try {
date = new Date(Long.parseLong(attribute.getValue()));
} catch(NumberFormatException e) {