Nothing displayed on the pull request page
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
When opening the Pull Request page, nothing displayed there and the following errors appear in the browser's JavaScript Console:
1
2
3
4
5
6
7
8
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-enablingALL 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).
Was this helpful?