I have automation rules that use the "Issue Created" trigger to check a few things. I realized that automation rule gets trigger without a problem when the issue is created within Jira. But issues created via an Issue Collector that is embedded on an external website do not trigger the "Issue Created" event.
I was able to reproduce it with the simplest of rules:
If the issue is created via an Issue Collector, this rules does not get triggered and does not show up in the audit log. Is this missing trigger a defect or is this the intended behavior?
Thanks!
Quick update: This only happens if the "Report" for the issue Collector is set to "Automation for Jira".
For cases where the reporter is "Automation for Jira", the new issue trigger does not seem to work.
For such cases, a workaround is checking the "Allow rule trigger" checkbox, which will solve the problem (or choosing another value for "Reporter").
I still believe that this is a bug in Jira, but I now have a workaround.
That is an interesting approach as the "Allow rule trigger" option is documented to allow one rule to trigger another through its actions. This seems to imply the issue collector is being identified as an automation rule (i.e. triggering event) via the initiating user...
And...that the runaway looping logic of the automation engine can be circumvented by changing the initiating user. Very curious, and perhaps risky to cause rules to run too fast and so trigger one of the other SLA safeguards to halt processing: processing time/24 hours, etc.
Thanks for this information!
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is interesting, I don't know if this is a bug in automation. May be you can try to create a post function to trigger a webhook or update a field after issue creation.
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply. Yes I was in fact able to cobble something together with post functions. But I wanted to check here with community to see if this should get reported as a bug or if Collectors are intended to be allowed to skip those event triggers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great. Yes, it should be a bug in my opinion and it will let other know about this behaviour.
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.