I'm trying to build an automation that, when commented in a subtask, copies it to the parent task. However, with what I've found in the forums and documentation, I only manage to get the first comment copied, but subsequent ones are no longer copied.
Hi @Sebastian Richards Romero - The way you have your rule configured as a manual trigger and copying the last comment, you should always get whatever the last comment is. However, you may want to consider something more automated like this:
By *{{comment.author.displayName}}* at {{created.jqlDateTime}} on sub-Task {{triggerIssue}}
{{comment.body}}
This should ensure that the parent issue is always inheriting the comments of its children
Hello @Mark Segall
I've tried something like that.
I changed the trigger to Manual, because i though it could help and it kind of did copying every comment into a new one.
The problem with the one you've pointed out, is that the first comment is copied but the next ones doen't trigger the rule and the rule log throw this:
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 audit log... That clears it up.
By default, when you use the Add Comment action, it checks the box:
Prevent duplicates by only adding this comment once to a particular issue
Uncheck this and it should run each time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.