@NotNull
      @Override
      public TaskType getType() {
        String type = map.get("type");
        if (type == null) return TaskType.OTHER;
        return switch (type) {
          case "Feature", "enhancement" -> TaskType.FEATURE;
          case "Bug", "defect", "error" -> TaskType.BUG;
          case "Exception" -> TaskType.EXCEPTION;
          default -> TaskType.OTHER;
        };
      }
@NotNull
      @Override
      public TaskType getType()