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

Bitbucket Server 7.0 PR fetch from not working

Edited

I have updated a PR (push) and our ci is trying to fetch the commit with 

 

`git fetch origin +refs/pull-requests/575/from:refs/remotes/origin/PR-575`

 

But the fetch gets the old ref. So it looks like the ref is no longer updated since bitbucket 7.0.0.

 

Using `git fetch origin renovate/jint-3.0.x` to fetch the source branch works.

1 answer

We are facing the problem with the latest Bitbucket v7.4.0.

Our CI system can not find remote references of our pull requests.

$ git fetch origin refs/pull-requests/34/from:
fatal: Couldn't find remote ref refs/pull-requests/34/from

Bitbucket app also shows an error:

Object "refs/pull-requests/34/from" does not exist in repository 'My Repo'

Here the issue

https://jira.atlassian.com/browse/BSERV-12284?error=login_required&error_description=Login+required&state=465f87b8-e6d0-420d-bc1b-e7b1641beab8

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,814 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