Hi Team,
I have one question and I hope someone can give me advice on how can I poke further. I need to run a script as part of remediation in Jira. So, can I use the automation rules to trigger script running by attaching the script itself as a form?
Thanks in advance.
Greetings
Hi @Diana Viktorova,
Welcome to Atlassian Community!
The only way to run scripts from an automation would be if you can access the script via a web request. Automations cannot run scripts that are added as an attachment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Jira Automations doesn't support attaching scripts per se, but you can accomplish quite a lot with ScriptRunner: Start scripting in ScriptRunner.
They accept Groovy and Typescript as language, and can achieve almost everything you can think of in Jira.
Not Turing complete, but within Jira context, almost there.
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.
Welcome to the community. I agreed with @Mikael Sandberg suggestion. You can design a process where you can use Automation setup to trigger an action "Send web request" based on certain issue events. On your web request target application to process the issue json payload body, and then use REST APIs in your target application to process the payload and then execute your script in mind to conduct issue management process as needed.
Hope this also helps.
Best, Joseph Chung Yin
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.