We have created a Project automation rule in JIRA service desk, when ever a comment is added in the customer portal the comment is seen in the ticket plus in a cloned ticket on the clients project, and when ever a comment is added in the cloned ticket the comment is added in the parent ticket and also sent to the customer.
This automation is working fine however when in Jira Software (client projects) and a comment is "locked" for a specific role is it writing back to the Service Desk ticket and that is not our desire.