mapper.setFileName(attachment.getFilename());
mapper.setLength((long)attachment.getFilesize());
mapper.setUrl(String.format(IRedmineConstants.REDMINE_URL_ATTACHMENT_DOWNLOAD, repository.getUrl(), attachment.getId()));
taskAttribute = taskData.getRoot().createAttribute(TaskAttribute.PREFIX_ATTACHMENT + mapper.getAttachmentId());
mapper.applyTo(taskAttribute);
}
}
if(issue.getTimeEntries()!=null && issue.getTimeEntries().isViewAllowed()) {
//TODO kind/label