Upgrade to Bitbucket 10
Compatibility with Bitbucket 10
Only those versions marked as compatible in the Atlassian Marketplace will work with Bitbucket 10. If you have been through the Bitbucket 7 to Bitbucket 8 upgrade, this process should be familiar and relatively smooth. For further information on Bitbucket 10 see Atlassian's release notes. The information on this page is focused on the areas of change likely to affect your scripts.
Script functionality
Some of your scripts may fail if you upgrade without modifications. The major areas of change are listed below and on the breaking changes page.
Breaking changes
There are some key breaking changes you should be aware of when upgrading to Bitbucket 10 for:
- UI Fragments update: Atlassian removed several Client Web Fragments in favor of Client Side Extensions (CSEs). If you use ScriptRunner UI fragments with any of these removed Client Web Fragments, you will need to update your configuration by re-implementing these UI Fragments as CSEs.
- Spring and Jakarta upgrade: Jira has upgraded to Spring 6.x and Jakarta EE 10.
- jQuery upgrade: Jira has upgraded to jQuery 3 from version 2.
Full details of the changes related to this upgrade are provided in Breaking Changes.
Upgrading your instance
If you do not have a staging environment, we recommend you invest the time into creating one. You should be able to reliably clone your production instance to the staging environment, so you can test plugins and upgrades.
We recommend you use the following strategy when upgrading your instance:
Changes to Bitbucket API
You can review changes to the Bitbucket API on Atlassian's API Changelog page.
Anything else?
Did we miss something important that script authors should take into account when upgrading? Please let us know.
If it's likely to affect more than a couple of users we will add it to this documentation.