javamachr / sonar-gitlab-plugin

Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
GNU Lesser General Public License v3.0
121 stars 21 forks source link

[Question] List closed issues in Analysis Details #35

Open kcohrs opened 1 year ago

kcohrs commented 1 year ago

Asking this question here, as I could not find any tangible information in the existing documentation and templates.

I am trying to figure out whether it is possible to list, or at least count the number of issues which will be closed by a MR compared to previous analysis via a given template. Additionally, is it possible in a template to distinguish between newly detected issues and issues which already existed previously in changed code?

It would be great if this was a possibility, to track reduction in existing issues.

javamachr commented 1 year ago

I believe it is not currently possible - see https://sonarsource.atlassian.net/browse/FR-8 where Sonar does not has this feature on roadmap. Regarding new issues - I believe this kind of depends on new code definition that you have configured and should work as you expect.