code: public boolean createOrEditJiraService(Integer projectId, GitlabJiraProperties jiraPropties) throws IOException {
  
          Query query = new Query()
                  .appendIf("url", jiraPropties.getUrl())
                  .appendIf("project_key", jiraPropties.getProjectKey());
  
          if (!jiraPropties.getUsername().isEmpty()) {
              query.appendIf("username", jiraPropties.getUsername());
          }
  
          if (!jiraPropties.getPassword().isEmpty()) {
              query.appendIf("password", jiraPropties.getPassword());
          }
  
          if (jiraPropties.getIssueTransitionId() != null) {
              query.appendIf("jira_issue_transition_id", jiraPropties.getIssueTransitionId());
          }
  
  
          String tailUrl = GitlabProject.URL + "/" + projectId + GitlabServiceJira.URL + query.toString();
          return retrieve().method(PUT).to(tailUrl, Boolean.class);
  
      }
docs: Set JIRA service for a project.
  https://docs.gitlab.com/ce/api/services.html#create-edit-jira-service
  
  @param projectId    The ID of the project containing the variable.
  @param jiraPropties
  @return
  @throws IOException on gitlab api call error