In order for users to not loose their existing configuration on alerts, it would be a good idea to migrate those from quality profiles to new quality gates.
The algorithm is pretty simple. For every quality profile that has at least 1 alert:
- create a quality gate named "<quality_profile_name> - <language_name>" (language is required because quality profiles on different languages can have the same name)
- convert the alerts to conditions on that new quality gate