Post-Functions on Java Atlassian Connect

I’m testing Atlassian Connect Spring Boot to create some post-functions for Jira Cloud

There is no examples in documention, only on NodeJs

Can someone help with working examples of some common staff on Java? Tutorials?
Or nodeJs is suggested and main supported way to development for cloud?

Maybe following snippet will help you, assuming you know spring.

@Service
public class TenantBootstrapOnInstallService implements ApplicationListener<AddonInstalledEvent> {

	private final static Logger log = LoggerFactory.getLogger(TenantBootstrapOnInstallService.class);

/ .... your services

	@Override
	public void onApplicationEvent(AddonInstalledEvent event) {
/... your logic on installation event
     }
	
}
2 Likes

Thanks friend!

But i’m asking for examples of post-function (validators, conditions & etc)

1 Like