Good day, everyone.
I have issues with synchronization of comments in subtasks. Synchronization is done with the help of Automation Rules(JWT) plugin.
For example, three subtasks are created during transition - subtask1, subtask2 and subtask3. When adding comment in subtask2, this comment is being automatically added in subtask1 and subtask2, but the same comment is being added in subtask2 again, i.e, there are two same comments in subtasks2.
Please, help in solving this problem.
Automation rule structure:
Thank you in advance.
Hi @Fariz Aliverdiyev ,
Thank you for your request!
I was able to reproduce your problem and I contacted our development team so we can implement a fix for that problem. Unfortunately, I can't give you a specific date about when it will be fixed and released, but I can offer you a workaround for this problem!
Change the mode of your "Issue selector" from "Sibling sub-tasks" to "Issue list expression" , and use the following expression:siblingSubtasks()
This expression will obtain all the sibling sub-tasks, excluding the current sub-task that was just commented and triggered the Automation Rule. Just make this change and it should work as expected.
Please, let us know if the provided solution worked!
Best regards,
Sergio
Hi @Sergio García-Consuegra _Decadis AG_ ,
Sorry for late answer. There was a problem with sync of comments between subtasks by your method. When adding comment in subtask1, for example, previous comments in subtask 2 and subtask 3 are edited to comment which was added in subtask1.
Can it be that the problem is in Update Field Action or Issue Selector expression?
Thank you in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Fariz Aliverdiyev ,
In this case, it seems you are updating the last comment of the sub-tasks, instead of adding a new comment.
You should replace your "Update field" action and use "Add comment" action, selecting as value the Last comment (trigger)
Please, let us know if after making this change it works as expected!
Best regards,
Sergio
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.
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.