When my request is submitted, I need to execute a script and pass parameters from my request. Are there any examples on how to achieve this? I created a test and added this line into my workflow postfunction, but nothing happens. Can someone please provide insight on how to do this using ScriptRunner?
"ssh myid@myjiraserver.com test.sh".execute()
Hi @Tammy Robinson , this works in the Scriptrunner console. Maybe this can work in your post-function also?
Hello,
You would need an app for it. For example, Power Scripts, ScriptRunner, MyGroovy, Groovioli and so on.
If you want to use the Power Scripts app, then you should execute the system routine:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
Thank you for replying. Sorry I forgot to mention that I am trying to execute this in ScriptRunner.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.