I have created a REST Endpoint on ScriptRunner. Now I am adding a groovy script as a post function and I want to import the REST Endpoint file and use its function.
Is there any way to do so?