I would like to run a script listener through REST Endpoint.
I want to put the listener URL in the rest endpoint code here:
document.getElementById("fConvert").action = "/rest/scriptrunner/latest/custom/PublishMail";
In this code, the URL reference to another REST Endpoint.
How can I know the URL of the listener ?