I've created a Jira script plugin, based on the example https://bitbucket.org/Adaptavist/scriptrunner-samples/src/master/jira/
When I install the jar file, it installs OK
When I install the obr file I get the following errors in the log
[c.a.u.core.install.ObrPluginInstallHandler] OBR resolver has 1 unsatisfied requirements for installing plugin_2411449962230439202_bda-jira-extensions-core-1.0.0-SNAPSHOT.obr
[c.a.u.core.install.ObrPluginInstallHandler] Unsatisfied requirement: (&(symbolicname=com.onresolve.jira.groovy.groovyrunner))
[c.a.u.core.install.DefaultPluginInstallationService] Plugin installation failed: Failed to resolve plugin dependencies within OBR [plugin_2411449962230439202_bda-jira-extensions-core-1.0.0-SNAPSHOT.obr]. Please see the logs for more detailed information.
Scriptrunner is installed and running.
obr.xml includes the entry
<require name='bundle' filter='(&(symbolicname=com.onresolve.jira.groovy.groovyrunner))' extend='false' multiple='false' optional='false'>Require Bundle com.onresolve.jira.groovy.groovyrunner; 0</require>