How to differentiate between disabled or uninstalled event for Jira server plugins?

According to here https://developer.atlassian.com/server/jira/platform/jira-plugin-lifecycle-8946073/ ( “Plugin is disabled via UPM” and “Plugin is uninstalled via UPM” sections) there is no indicator that a developer can know the difference.

I would like to delete my plugin’s database entries and configuration (PluginSettings) only when my plugin is uninstalled not when disabled.

What am I missing?

4 Likes

Having the same issue. Also need to differentiate between install and enable.

@destan did you find a way to do this? Seeing 34 views and no responses. Wondering if it’s an indication that its not possible.

I am having the same question.

1 Like

I also have the same question

1 Like

No I couldn’t find any way to differentiate those.

Moreover, it isn’t possible and there is a bug report for it: https://ecosystem.atlassian.net/browse/AMPS-1503

please support it issue :slight_smile:

1 Like