AO table for jira-development-integration-plugin is not created

Description

Affected plugin: jira-development-integration-plugin
Branch: more-compat-fix

In the plugin XML, we have a the following module descriptor:

When running in JIRA 6.5, the table is created correctly. However, when running in JIRA 7.0, the table is not created.

What I used to compile the plugin: mvn clean install -pl jira-development-integration-plugin -am -DskipTests=false -Djira7 -U

What I used to run the plugin (from the plugin directory): atlas-debug -DskipTests -Djira7 -U.

On startup, you can go to "Plugin Data Storage" admin page to see that jira-development-integration-plugin is not listed and neither any of its tables.

I tried disabling/enabling the plugin from 'Manage add-ons' a couple of times but this does nothing.

I have a weird set of steps to "force" the table to be created:

  1. Integrate with a Bitbucket account via 'DVCS Accounts' admin page

  2. Create a project and an issue and view the issue. Note the blue info message.

    In the log you should see:

  3. Now disable the plugin again and re-enable it, you should get the following exception:

  4. Go back to "Plugin Data Storage" and you'll see the table is there

  5. Refresh the issue page and you'll see the blue info message is gone.

Environment

None

Testing Notes

Add notes...

Assignee

Alex Courtis

Reporter

Eric Sukmajaya

Add-on Type

None

Team

None

CC

None

Risk factor

None

QA Kickoff Status

None

QA Demo Status

None

Fix versions

Priority

Major
Configure