In Jira 11, I can't get a plugin to use a service exported by another plugin

Our product is deployed as 2 plugins, with one plugin using a service published by the other as an OSGi service. It was working fine in Jira 10.x and earlier versions, but in Jira 11, I’m unable to get the dependent plugin, the one that uses the published service, to start.

There’s no error message in the log; the dependent plugin just times out.

Could this be something to do with the upgrade of Spring in Jira 11? I’ve upgraded our plugins to use Spring Scanner 6.0.0 and replace all of the javax. things with Jakarta equivalents.

Do the @ExportAsService and @ComponentImport annotations get scanned in the usual way?
Has anybody else been able to get two plugins to cooperate in this way in Jira 11?

Actually, this problem is kind of niche. I’ll raise it as an ECOHELP and report back here with the solution when I have one.

Well, this is embarrassing. Turns out the solution is to wait for a day and try again.

In fact, it was probably the rebooting of my development instance of Jira DC that did the trick.

1 Like