How to migrate data from one active objects namespace to another

We just recently added a namespace for our active objects module:

  <ao key="ao-module" namespace="com.mohamicorp.plugin.namespace.key">
    <description>The module configuring the Active Objects service used by this plugin</description>

But we’ve noticed that adding this namespace causes our plugin data to get lost. Is there a way to migrate this data over?

What’s your add-on key? Is it com.mohamicorp.plugin.namespace.key ? If it isn’t that then that’s probably why you’re losing the data.

1 Like

Thanks for the help Daniel. To be specific, my plugin key is as follows:

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${}" plugins-version="2">



And my active object declaration now looks like:

<ao key="ao-module" namespace="com.mohamicorp.plugin.automation.automation-for-jira">

Where before I did not have a namespace declared.

I figured this out, it looks like there’s a bug in AO where the plugin key being used is getting truncated. I made an issue here:

1 Like