Sonar issues reoccur when line number changes in version 7.7


After marking certain issue as false positive, if code is scanned on same code with few lines added, i.e. if line number changes w.r.t previous executed analysis, then quality gate fails. Is there any solution to this?
Version used is sonarqube 7.7


First I need to note that your version is past EOL. The current LTS is 7.9.5 and the current version is 8.6. You should upgrade at your earliest convenience. It’s possible doing so will take care of this problem.

In the meantime, the algorithm for determining which issues are new is described in the docs. Can you check it and see which conditions are/aren’t being met?