Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,885
Community Members
 
Community Events
168
Community Groups

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

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

3,499 views 3 10
Read article

Atlassian Community Events