@Nullable
  private TaskState mapIssueStateToPredefinedValue() {
    // TODO Make state field name configurable
    String stateName = getCustomFieldStringValue("State");
    if (stateName == null) {
      return null;
    }
    if (stateName.equals("Fixed")) {
      return TaskState.RESOLVED;
    }
    try {
      return TaskState.valueOf(StringUtil.toUpperCase(stateName));
    }
    catch (IllegalArgumentException ignored) {
    }
    return TaskState.OTHER;
  }
@Nullable
  private TaskState mapIssueStateToPredefinedValue()