I've an automation. It normally runs by noticing field changes.
But additionally I want to be able to trigger it manually.
How do I do that?
I'd expect either a checkbox "Let this run manually" or an action that explicitly invoked another named action.
Thanks,
Martin
Hi Martin,
For now the only way to do this is to copy the rule and change its trigger to our 'Manual trigger': https://docs.automationforjira.com/getting-started/triggers.html#manual
We don't currently support rules with multiple triggers.
Cheers,
Andreas
Hi,
This conversation is flagged cloud but there is no manual trigger in cloud. Not that I can see.
Is there another way to do this in cloud?
Thanks,
Lonn
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could use JIRA custom events within the Automation rule. Eg:
Rule 1: Trigger on field change and fire custom_event
Rule 2: Trigger on manual and fire custom_event
Rule 3: Trigger on custom_event and run actual logic.
While it might be slightly easier to maintain the combined logic, I would still do what @andreas suggested. Performance is way better with a single rule without events.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly where is the fire custom event option? I suspect this will solve another of my questions where I need to trigger the creation of a customer in a different project. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
https://docs.automationforjira.com/getting-started/actions.html#publish-a-custom-event
I just realised this is only for Jira Server; if you're using Cloud you won't have it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh okay. Thanks. I guess it's a webhook job then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah - I don't have access to cloud, but you could probably still achieve something similar with a customfield acting as a flag. Triggers toggle the customfield. Main rule triggers on field change.
Still, just go with what Andreas says :).
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.