Which AMPS version to use?

Regarding the Atlassian Developer Toolbox developer-toolbox-plugin-3.0.6.jar and developer-toolbox-plugin-3.1.0.jar .

I tried to run them in Jira 9.12.12 LTS and got the following error during startup:

2024-08-31 12:51:40,836+0300 main ERROR      [c.a.plugin.manager.DefaultPluginManager] There was an error loading the descriptor 'developer-toolbox.name-jira' of plugin 'com.atlassian.devrel.developer-toolbox-plugin'. Disabling.
java.lang.RuntimeException: Unable to enable web fragment
	at com.atlassian.plugin.web.descriptors.AbstractWebFragmentModuleDescriptor.enabled(AbstractWebFragmentModuleDescriptor.java:114)
...
Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions: Could not load 'com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition' in plugin com.atlassian.devrel.developer-toolbox-plugin
	at com.atlassian.plugin.web.descriptors.ConditionElementParser.makeConditionImplementation(ConditionElementParser.java:84)
...
Caused by: com.atlassian.plugin.web.conditions.ConditionLoadingException: Could not load 'com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition' in plugin com.atlassian.devrel.developer-toolbox-plugin
	at com.atlassian.jira.plugin.webfragment.JiraWebFragmentHelper.loadCondition(JiraWebFragmentHelper.java:44)
...
Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.plugin.webfragment.conditions.UserIsAdminCondition not found by com.atlassian.devrel.developer-toolbox-plugin [35]

I tried to downgrade the plugin to:

  • 3.0.5 - does not work.
  • 3.0.4 - does not work.
  • 3.0.3 - works.

So, I still don’t recommend blindly upgrading AMPS to the latest version if you use Jira/Confluence LTS. When upgrading you should understand how it works and tinker with AMPS <devToolboxVersion>3.0.3</devToolboxVersion> configuration parameter.

And I think there should be an additional branch of AMPS and other tools compatible with the latest LTS versions of the Atlassian products… Otherwise, configuring the build tools takes more time than developing valuable features in our plugins.