Bitbucket Server 7.0 PR fetch from not working

Michael Kriese March 9, 2020

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

1 vote
joseluisq July 29, 2020

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
AUG Leaders

Atlassian Community Events