Java code execution Jira plugin installation and removal

Eugene Ts December 20, 2019

Hi there.

I'm developing a Jira plugin on Java that will need to connect to DB to custom schema and execute some code (liquibase) for DB preparation (create tables, datas and so on), 

So the question is, is there any place that is called only one time - when you install the addon and when you remove the addon?

I.e. maybe i may override some method or add an annotation on my method?
Thanks

1 answer

0 votes
Vladyslav Shyika July 20, 2020

Not sure, but maybe PluginEventListener annotation and PluginsEvent class is what you are looking for.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events