Nothing displayed on the pull request page
Symptoms
When opening the Pull Request page, nothing displayed there and the following errors appear in the browser's JavaScript Console:
Uncaught Error: Module 'jquery,aui,model/page-state' has not yet been defined. batch.js:30709
Uncaught Error: Module 'build/status/dialog' has not yet been defined. batch.js:30709
Uncaught TypeError: Cannot call method 'load' of undefined diff:50
Uncaught Error: Module 'layout/base' has not yet been defined. batch.js:30709
Uncaught Error: Module 'layout/repository' has not yet been defined. batch.js:30709
Uncaught Error: Module 'layout/pull-request' has not yet been defined. batch.js:30709
Uncaught Error: Module 'page/pull-request/pull-request-view' has not yet been defined. batch.js:30709
Uncaught Error: Module 'layout/base/menu/recent-repos' has not yet been defined. batch.js:30709
Cause
We are not sure yet about the root cause of this problem but it is most likely caused by conflict with other plugins installed in Bitbucket Server.
Resolution
The only solution we know currently is by disabling and re-enabling ALL the plugins in the Bitbucket Server instance. Enable "Safe Mode" to quickly disable the plugins.
We've also observed this problem being caused by a third party plugin called Bitbucket Server Webhook to Jenkins. We used to recommend you disable this plugin. Be aware that now the provider has updated the plugin to fix this issue. The details are described in the "Version History" tab of the plugin page and a customer has reported to us that the issue is solved.
Ultimately, if that does not solve the problem, please open a support request at https://support.atlassian.com attach a Support Zip as well as the the console output from the web browser e.g. open the *JavaScript Console* in Chrome (Settings > Tools > Developer Tools and click on the Console tab, reload the PR page).