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

This widget could not be displayed.

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! :-)

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published 7 hours ago in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

36 views 0 5
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