/* Operations */
taskAttribute = root.getMappedAttribute(TaskAttribute.OPERATION);
if (taskAttribute != null) {
RedmineOperation redmineOperation = RedmineOperation.fromTaskKey(taskAttribute.getValue());
taskAttribute = root.getAttribute(TaskAttribute.PREFIX_OPERATION + taskAttribute.getValue());
if(redmineOperation!=null && taskAttribute!=null) {
String value = null;
if(redmineOperation.isAssociated()) {
taskAttribute = root.getAttribute(redmineOperation.getInputId());
if(taskAttribute!=null) {
value = taskAttribute.getValue();
}
} else if(redmineOperation.needsRestoreValue()) {
value = taskAttribute.getMetaData().getValue(IRedmineConstants.TASK_ATTRIBUTE_OPERATION_RESTORE);
}
if(value!=null) {
RedmineAttribute redmineAttribute = RedmineAttribute.fromTaskKey(redmineOperation.getInputId());
setProperty(redmineAttribute, root, issue);
}
}
}