What happens to issues after a rule is deactivated?

Hi,

a question regarding handling issues after a specific rule is deactivated in a quality profile when I have following scenario:

  1. I have a quality profile with rule X
  2. SonarCloud detects issues based on the rule X
  3. The rule X is then removed from the quality profile

How are the detected issues handled? Are they removed entirely from the database or are they marked as closed/resolved?

After the next analysis, issues raised on rule X get the status “Closed” and the resolution “Removed”. Housekeeping will eventually weed these issues out of the database. This way – if you change your mind, you have some time before losing all the data related to those issues (status, comments, assignee, etc.)