Unable to auto create Pull-request

Issue #16221 duplicate
Ronald Chia
staff created an issue


While making a new commit with read-only access, Bitbucket Cloud unable to create PR after the repository is forked and a new commit is created automatically.

Browser's development tool is showing "Branch not found" error with the following request header:

Request URL: https://bitbucket.org/!api/internal/repositories/<Owner>/<Source_Repo_Name>/branches/<username>%2F12313-edited-online-with-bitbucket-1525328545588
Request Method: GET
Status Code: 404 Not Found
Remote Address:
Referrer Policy: no-referrer-when-downgrade

Steps to Reproduce

  1. Ensure the account has Read-only access to the repository
  2. With BB UI, navigate to a file then click Edit button
  3. Modify the file then commit the changes

Steps to Reproduce

Navigate to the forked repository then create a pull request to merge the changes to the destination repo.