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