Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube 8.6.1 Developer, Jenkins + gitlab-branch-source-plugin , GitLab
- what are you trying to achieve
Update of issue information after the MR for existing issues at master, if the code section of the issue was modified at the MR.
- what have you tried so far to achieve this
For example I have coded in the master following C++ code.
int i = 0 //unused variable
This issue was detected by SonarQube.
Now I creating a branch from the current master.
I change the code at the branch. SonarQube does not detect this.
int i = 1 //unused variable
Now I create a MR from the branch.
At the MR SonarQube detects the modification of the code and reports this with a issue.
I mark this issue as ‘won’t fix’ or just add a comment.
After merging of the MR to the master, the existing issue of the master is not updated with the issue information of the MR and has the old status. The issue infomation was not replicated.
What could be the reason for this behavior?