private void adjustSettingsForServerProperties() {
    if (myRepository.isJqlSupported()) {
      mySearchQueryField.setEnabled(true);
      myNoteLabel.setVisible(false);
    }
    else {
      mySearchQueryField.setEnabled(false);
      myNoteLabel.setText(
        TaskBundle.message("label.jql.search.cannot.be.used.in.jira.versions.prior.your.version", myRepository.getPresentableVersion()));
      myNoteLabel.setVisible(true);
    }

    if (myRepository.isInCloud()) {
      myUsernameLabel.setVisible(true);
      myUserNameText.setVisible(true);
      myUsernameLabel.setText(TaskBundle.message("label.email"));
      myPasswordLabel.setText(TaskBundle.message("label.api.token"));
      myUseBearerTokenAuthenticationCheckBox.setVisible(false);
    }
    else if (myUseBearerTokenAuthenticationCheckBox.isSelected()) {
      myUsernameLabel.setVisible(false);
      myUserNameText.setVisible(false);
      myPasswordLabel.setText(TaskBundle.message("label.api.token"));
      myUseBearerTokenAuthenticationCheckBox.setVisible(true);
    }
    else {
      myUsernameLabel.setVisible(true);
      myUserNameText.setVisible(true);
      myUsernameLabel.setText(TaskBundle.message("label.username"));
      myPasswordLabel.setText(TaskBundle.message("label.password"));
      myUseBearerTokenAuthenticationCheckBox.setVisible(true);
    }
  }
private void adjustSettingsForServerProperties()