We recently upgraded from SonarQube Developer Edition, to Enterprise Edition. Therefore we have now a new Server with a Staging License. I am current migrating settings from the productive enviornment to the staging.
So far it is possible to export/import Quality Profiles, but not Quality Gates, as written in Export Quality Gate in sonarcloud - #2 by ganncamp
So It would be great to develop such a feature for an upcomming future version.
Hi @DominikTouring
Thanks for exposing your need.
Indeed it is not possible to export/import Quality Gates.
Apart from changing the version, do you see another use case for it?
Best
Alexander
Hi,
Yes, in our case it is about copying exporting the Quality Gates from the producation enviornment to the staging enviornment or even the other way around.
In order to keep them testable (that is what our staging platform is needed)
Thank you,
Dominik
Hi,
+1 on that feature request.
I have to control the quality gates and profiles from multiple departments and sonarqube instances. Now I have to merge em all to a single instance. The API allows the easy addition of new conditions to qualitygates, but you are unable to update/remove conditions without having the ID. That makes a central configuration as code for sonarqube a challenging task. I would have to write my own tool that handles the qualitygate management and compare my wanted qualitygates and conditions with random generated ID’s. Why? (Bad design decisions in the past)