We use Bitbucket Server with SonarQube 7.9 and Branch Analysis.
This works so far but one problem is annoying:
When we close an issue in a short lived branch in sonar we can not merge the pull request because the Pull Request is build with a branch name like PR-XX and the sonar analysis does not consider the issue state of the corresponding branch.
So we also have to close the issues on the PR branch.
Is this something that can be solved by sonar or should we try to map the PR branches to the short-lived branches ourselves.