Is adding Feature Discovery to your plugin the only way Confluence will recognize changes to your plugin?

Hi,

I've made changes to my soy wizard template that aren't getting picked up by Confluence even if I uninstall/reinstall the plugin. And/or if I promote/unpromote the blueprint that this plugin is creating.


Can you confirm that I have to add feature discovery to my plugin so that Confluence will recognize these changes?

Also, can you provide a sample Java file that shows how to use feature discovery to unregister and reregister my module so that my changes are picked up when I uninstall and reinstall?

Thanks, in advance,

Stacia

PS I posted a similar question on this topic and then updated it with the feature discovery information when I found that in the documentation. Since I haven't gotten any response to that question and I'm super-stuck, I'm trying to post again with a slightly different angle.

2 answers

1 accepted

Accepted Answer
0 votes

Hi Agnes,

You probably already saw this in my other post on this topic, but by feature discovery, I was referring to this:

https://developer.atlassian.com/display/CONFDEV/Adding+Feature+Discovery+to+your+Plugin

As it turned out, the reason my updates weren't showing up was due to browser caching. However, before I realized that was the problem, I'd read the information at the link above and interpreted that to mean that I needed to write some Java code to ensure that my plugin components were getting removed and readded each time I uploaded a new version. Fortunately, I didn't end up needing to do that!

NET - updating my browser cache solved my issue and I was able to see the updates I'd included in my blueprint.

Thanks for responding! :-)

Hi Stacia,

I'm not quite sure what you mean by "adding feature discovery to your plugin". When you install (either via the Manage Add ons admin UI or using atlas-cli commands from the SDK) a new plugin version, you don't need to do anything else. If you install an older version than the one already installed it will won't install. You should check your Confluence logs to see if there are any errors during the the install.

Cheers,
Agnes

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 10 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

21 views 0 0
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