Client Side Extensions for Web Resources
In places where Bitbucket supports Client Side Extensions (CSE), you can use web resources to install CSE plugins for required locations.
To check where on the page there are supported extension points for CSE, add ?clientside-extensions to the page URL address parameter.
Warning: There are two major CSE versions. Which one you use depends on your Bitbucket version.
- CSE version 1.x is used in Bitbucket version 7.0.0 to 7.10
- CSE version 2.x is used in Bitbucket version 7.11 and newer
CSE version 2.x has breaking changes in the API, so different code is used.
Example: Add link to Google search the pull request name on the PR page
In this example, we add Search Branch Name to the right side of the PR page. When you select Search Branch Name, a Google search page with the branch name is opened.
When you go to the PR page, Search Branch Name appears on the right side of the screen