On Bitbucket server, when a PR is opened from one repo into another and the branch on the source repo does not exist on the destination repo, PR Decoration fails to be displayed with the error message:
"An error occurred while getting data from Sonar
no ref found for <Branch_Name>"
For clarification, our typical workflow goes something like this:
I've been through every setting I can think of and I'm just not seeing what I'm doing wrong here that it's referencing the branch name from the source branch (fork dev branch; test-23 in this case) and failing when it doesn't exist. If I just create a branch with the same name, it works, but I shouldn't have to push my dev branches from my fork into the main repo to get this to work.
What am I missing here?
Hi,
This is a known issue with app versions 2.6.x where the branch information is pulled from the target instead of the source repository when using forks. We will deploy a fix later today. I'll reply back here when it is available.
Thanks for your understanding.
Best regards,
Michael (app vendor)
Just wanted to let you know that we released a new version of the app including a bug fix for this a few moments ago.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're very welcome!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.