for (Entry<RedmineAttribute, List<?extends Property>> entry : projectSpecific.entrySet()) {
taskAttribute = root.getAttribute(entry.getKey().getTaskKey());
if(taskAttribute!=null) {
taskAttribute.clearOptions();
if(!entry.getKey().isRequired()) {
taskAttribute.putOption("", ""); //$NON-NLS-1$ //$NON-NLS-2$
}
for(Property property : entry.getValue()) {
taskAttribute.putOption(""+property.getId(), property.getName()); //$NON-NLS-1$