TaskType () { String typeName = getCustomFieldStringValue("Type"); if (typeName != null) { try { return TaskType.valueOf(StringUtil.toUpperCase(typeName)); } catch (IllegalArgumentException ignored) { } } return TaskType.OTHER; }