Hi, I'd really appreciate some help with this. I have an automation that creates two subtasks when a story is created. When these subtasks are created, it assigns them to different people, and once they're assigned, it sends an email notifying them of the subtask assignment. The only problem I'm having is that when the subtasks are assigned and the emails are sent, it's sending three emails instead of two, since only two subtasks were created and assigned. I've already disabled Jira's automatic notifications and everything, but it's still sending three emails instead of two. I've searched in the GPT chat and read everything, but I haven't found anything. I'd really appreciate knowing the exact steps to fix this.
Hi @Alan Rodrigo ,
That extra email is likely from the rule triggering on the parent story or subtasks firing recursively. The key is to create subtasks in a "For: Current issue" branch after checking it's a story, then send emails only in subtask-specific branches (avoiding the parent). The image provided is a little bit blurry so I couldn't make out the content in it but you can try the rules below:
Set Up the Rule (Fix the extra emails):
This runs once on story creation, creates 2 subtasks, then emails only for those subtasks (no parent email). Disable "Allow rule trigger" if recursive (rule details > Uncheck). Test by creating a story -> This should send exactly 2 emails. If still 3, check logs (Automation > Audit log) for extra triggers.
I hope everything works out well for you.
Best,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.