title: Is it possible to Import SonarQube rules?
body: <p>We're transferring our CI stack from a consulting company to in-house. We need to export the SonarQube profiles from the consultant's SQ instance to our corporate instance. We can export the profiles but the consultants created hundreds of custom rules and when we try to import the profile it fails to import the custom rules. We found in the API where you can export the rules to a JSON file, but can't find documentation on how to import them.</p>
  
  <p>Is it possible to import SonarQube rules? What is the best way to go about that?</p>
  
  <p>Referenced documentation:<br>
  SQ Docs - Copying Quality Profiles:<br>
   <a href="https://docs.sonarqube.org/display/SONAR/Quality+Profiles#QualityProfiles-CopyaprofilefromoneSonarQubeinstancetoanother" rel="nofollow noreferrer">https://docs.sonarqube.org/display/SONAR/Quality+Profiles#QualityProfiles-CopyaprofilefromoneSonarQubeinstancetoanother</a><br>
  StackOverflow - How to export Rules:<br>
   <a href="https://stackoverflow.com/questions/40885210/how-to-extract-or-export-rules-from-sonarqube">How to extract or export rules from SonarQube</a><br>
  SQ API - Rules:   <a href="https://docs.sonarqube.org/pages/viewpage.action?pageId=2392166" rel="nofollow noreferrer">https://docs.sonarqube.org/pages/viewpage.action?pageId=2392166</a>  </p>