Hi @KCWong. I don’t believe that Automation framework actions are available in Forge yet. Nor are there REST API access to create/edit Automation rules. That being said, there is an open ticket on the latter, and I suggest upvoting/commenting your interest there: https://jira.atlassian.com/browse/AUTO-51
I was looking for a way to make use of the webhook in Automation. But webhook does not support any authentication. To expose a webhook that may make changes to my data to the internet, without any authentication, with your only defense a randomly generated URL… it is unthinkable.
I need some sort of defense mechanism. Like the ability to verify a password/token. Signature verification. Encryption. Or reading a password protected ZIP file.
That’s why I’m looking for a way to implement my own custom actions in Automation.
So that’s not possible… while there’s Forge post-function, it is still in beta.
I’m moving the whole process off Jira Cloud… to a PowerShell script that calls Jira Cloud REST APIs instead.
As a poor substitute you could do the following:
In your Automation rule check for a shared secret in the provided JSON payload. If this secret is present then continue with the rule, otherwise abort. That’s easily possible with the IF-ELSE condition.