How to synchronize the code smell status(wont fix....) from a branch to the master?

I am using sonarqube developer edition The sonarqube scanner is initiated when I build my repository from the Jenkins. After the analysis, I marked some of the code smells from “open” to “Resolve as wont fix” in one of the branches. How do I synchronize these update on the master? Right now I havent linked the pull request from the gitlab to the sonarqube. Do I need to set that up for the master to synchronize and inherit the status from a branch?

Hey there.

Using Pull Request Analysis, you can make sure that the resolutions transfer from branches to the main branch once merged.

Thanks for the suggestion!