Hi,
I would like to execute 3 scripts without going through an event trigger, or by the services
what is the scriptrunner function that would allow me to do this?
I tested something like this:
def script = "/path/to/the/script.groovy"
script.execute ()
but it just returns me
"java.lang.UNIXProcess@3ba73ab3" without executing the code.
Thank you for your answers.
Hello @laumain jerome
You can create classes with methods, place it in scriptroot directory and use it in different scripts.
Please check this article
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.