Getting a 500 error while creating a pullrequest

When a bitbucket user tries to create a pull request, we are getting 500 error and I see this in the logs:

UnexpectedRollbackException: Transaction rolled back because it has been marked as rollback-only

I have no idea where this is coming from. Works fine if the user is an admin but not if a bitbucket user.

How do i resolve this ?

1 answer

Facing the same here with Bitbucket 4.8.3 (on RHEL) linked to an Oracle DB.

When the user is not admin of the repo, (s)he cannot create a pull request.

HTTP Error 500 "Read only ressource. Permission denied" (or something likewise)

The plugin "Repository Pull Request Hook Plugin" enabled on the server.

When the plugin is disabled, the user can create the Pull request without any error.

@Pranothi Jalakam: you may want to check that as well.

Suggest an answer

Log in or Join to answer
Community showcase
Alexey Matveev
Published Saturday in Jira

How to run Jira in a docker container

Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...

229 views 6 8
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot