We are using JIRA Service Desk.We implemented a logic when Parent moves to Status A the corresponding Sub-Tasks also will move to certain Status say B.This is we have implemented using Workflow toolbox plugin in workflow post function, but the problem we are facing is that on transitioning to Status A there is a intermediate screen where we have to give some comment and those comment is getting posted on the parents more than once i.e. No of comments posted = One for parent task + Number of Subtasks. Say number of Sub-task are 3 so the total number of times the same comment is getting posted to the parent is 4 times.
I have also tried to implement the same logic using Script Runner Plugin but the end result is same.Can you please suggest what can we do to avoid this?