Plugins are disabled after installing UPM 2.2.2

I just upgraded to UPM 2.2.2. Tempo and Structure plugin are both disabled. When I try to enable them I get

This plugin failed to enable. Your license may be invalid. Please refer to the logs for more information.

Checking the logging I get for both plugins

Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions:
Could not load 'com.tempoplugin.view.condition.ShowReportCondition' in plugin is.origo.jira.tempo-plugin

and

Caused by: com.atlassian.plugin.PluginParseException: Unable to load the module's display conditions: Could not load 'com.almworks.jira.structure.web.StructureOperationsApplicableIssueCondition' in plugin com.almworks.jira.structure

Not sure what's going on, but we do have a demo tomorrow.

Francis


2 answers

1 accepted

0 vote

Francis, did you try to restart JIRA?

We found this problem too, but restarting JIRA helps.

Also, I think we've tackled this problem in Structure 1.6, so it survives UPM upgrade.

Note to all devs: try to add dependency on a upm package to your Import-Package, for example:

com.atlassian.upm.api.util;version="0";resolution:=optional

On a side note off topic, if you have a demo tomorrow, don't upgrade Structure yet, as it has incompatible API changes - see the release notes

Also worth noting, we don't use licensing API from the UPM - there might be more problems for the marketplace plugins

Hi Igor,

No we didn't restart JIRA initially.
Anyway - demo went well.

Thanks,

Francis

Reverting UPM to 2.1.5 helped.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Marketplace Apps

Three tips for boosting your board's efficiency with Story Maps

Trello is one of the most effective tools for driving your sprints. It's customizable for every Agile team and product owners and Scrum masters (SM) love it. However, Agile teams often struggle with:...

821 views 2 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you