I am using Jira automation to a run a Groovy script from Scriptrunner. Can I use that script to run a Python script? It's in the same directory, and it works successfully when I run it manually, but now I just need to run it automatically when the Groovy script is run.
You should be able to execute a command from your script.
https://groovy-lang.gitlab.io/101-scripts/basico/command_local-en.html
This command can be python ./mypytonscript.py for instance.
Regards
Thanks for the link, that's helpful!
One question I have is about how to actually execute the command. When you set a string equal to "command".execute() then does the command actually execute when the script is run? Or is there something else I have to do?
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.