Mercurial repositories no longer work on Bamboo 8 or newer: Cannot use this repository. Plugin is missing or disabled.
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the server and data center platforms.
Summary
After upgrading to Bamboo 8.0 or newer, the Mercurial repositories no longer work: Cannot use this repository. Plugin is missing or disabled.
Environment
Bamboo 8 or newer.
Diagnosis
The following error shows up when accessing a Mercurial repository in Bamboo after upgrading to 8.0 or newer.
Cannot use this repository. Plugin is missing or disabled. Plugin key: com.atlassian.bamboo.plugins.atlassian-bamboo-plugin-mercurial:mercurial
Under Bamboo administration > Overview > Server Capabilities, system.hg.executable
is marked as a custom capability and there it's not possible to add a Mercurial capability type.
Cause
Starting on Bamboo 8.0, support for Mercurial has been discontinued and the Mercurial plugin was removed from bundled plugins.
Solution
Repositories can be re-added with the Git repository type. It's also strongly suggested to Migrate to Git.