Adding default reviewers to Pull requests can cause a "Database error occured" screen, if any user in Bitbucket dont have an associated email with their account.
- Add some users in Bitbucket without email address associated with them(Sync from external LDAP)
- Create a PR and add reviewers
Reviewers get added successfully.
Getting "An error occurred" pop-up.
The below exception is thrown in the atlassian-bitbucket.log file:
Associate an email address with each user account in Bitbucket.