Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I access the merge commit created by Bitbucket Server for a specific PR?

Edited

We recently upgraded from Bitbucket Server 6.9.1 to 7.6.3 in my organization, and it seems that the refspec for information related to PRs may have changed.

For example, on version 6.9.1, I had a CI/CD tool that was setup to use a refspec of `'+refs/pull-requests/*:refs/remotes/origin/pr/*'` which would give me access to references like the following for a given repo:

`git show-ref` to view my local references:


refs/remotes/origin/pr/106/from
refs/remotes/origin/pr/106/merge

 

`git ls-remote` to view remote references:


refs/pull-requests/106/from
refs/pull-requests/106/merge



However, the exact same setup when used on 7.6.3 is missing the `/merge` references. I can't see them in the remote list either, so it doesn't seem to be anything as simple as a refspec change.

Is this expected behavior? And if so, is there a way to access these merge commit references from outside of Bitbucket server on 7.6.3? Maybe some kind of setting I can change in an admin panel?

1 answer

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,811 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you