Client side extension ModalExtension broken for bitbucket.ui.pullrequest.overview.summary extension point

Bitbucket app developers please be aware that for Bitbucket 7.11. and 7.12. Modalextension is not working for the Pullrequest summary page.

Here are the steps I used to expose the problem, all based on Atlassian sample code.

  1. set up demo environment Getting Started - Client-side Extensions
  2. Make sure the modal extension work in the PR diff page
  3. change @extension-point in diff-toolbar-extension.js to
 /**
  * @clientside-extension
  * @extension-point bitbucket.ui.pullrequest.overview.summary
  */
 export default ModalExtension.factory((pluginApi, context) => {

in order to display the modal on the overview summary page.
4. run $ atlas-package -DskipTests ; atlas-install-plugin
5. Refresh the PR summary page

The modal element is not there.

While the modal ext is actually loaded, onAction() is never called in this location.

Please comment and vote [CSE-120] ModalExtension broken for bitbucket.ui.pullrequest.overview.summary extension point - Ecosystem Jira

1 Like

Thanks for reporting the issue. I answered in the Jira ticket: [CSE-120] ModalExtension broken for bitbucket.ui.pullrequest.overview.summary extension point - Ecosystem Jira

Let’s keep the discussion about the issue in the reported ticket.

1 Like