Call Java code from Forge

I have legacy Java code (packaged in a single jar file), which I would like to call from a Jira Forge extension. I was trying to run it though Node’s child_process, but it has been disabled in forge’s sandbox.

Is there a way to do this in Forge?

Currently no - Forge runs in a Nodejs sandbox.

You’d have to create your own deployment somewhere and then call out from Forge (ie Forge would be a proxy) to your service. Or just use Connect.