I have created an automation when an issue is created, it will automatically create 6 subtasks, this works perfectly. But then I have created another automation, when the issue is created, and if certain conditions are met (as shown below), it will attach a form to a specific subtask. When I checked, it actually worked, but when I checked the audit log, it says 'no actions performed'. And it's checking on a wrong subtask (which is 'SCRM-134'), while it should check on 'SCRUM-129'. What could be the problem here?
From what you describe, you have two automation rules, and the actions of one (create the subtask) will trigger the other (to attach the form). This second rule has probably enabled the option "Allow Rule Trigger".
The Issue Created trigger can fire so quickly that some issue data may not yet be available to the rule. This will appear as symptoms like rule errors, missed conditions, or other unexpected behaviors. As you are using two rules chained in sequence, I hypothesize this effect is more likely to occur.
The fix / work-around is to always add the Re-fetch Issue action immediately after the Issue Created trigger. This will slow the rule down a bit, reloading the data before the rule steps proceed. Please try adding that action to your second rule and re-test.
Kind regards,
Bill
Hi @Yousuf Al Rawahi ,
Instead of 2 conditions, can you try using "JQL condition"
Example JQL: type = Sub-task and summary ~ "Line Manager Tasks"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried this using JQL condition, it still doesn't work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The reason could be that the second rule is starting before first is completed.
Can you share me the first rule. I will try for a workaround.
Meantime, you can try branching
More details: https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/#Related-issues
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.