Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Server (not cloud) Application Links - is there a callback when finished setting up?

Christopher Poile May 24, 2019

In Jira Cloud: When we use the atlassian-connect.json to setup an application link, Jira cloud uses the lifecycle.installed route (in the json file) to notify our application that the application link has finished installing.

 

In Jira Server: I can't find a similar callback to notify our application that the autorization credentials etc. have been set up correctly. Anyone know of any callback so our application knows that the application link has been correctly set up on Jira Server?


Thanks!

1 answer

0 votes
Ben Pearson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 12, 2019

You can listen for plugin install/uninstall/enable/disable events. However, this will be unreliable when trying to listen for events about your own plugin. To trigger actions for these events, your modules should implement Spring lifecycle interfaces: InitializingBean and DisposableBean. The afterPropertiesSet() and destroy() methods on these interfaces will be called when the module is enabled or disabled,

Suggest an answer

Log in or Sign up to answer