Comments sync between Cloud Core and Cloud Service Desk arrive visible to customer by default

Originally asked by Richard Vencu on 15 October 2020 (original question)


In the scenario service desk to the dev team, when the dev team comment on the issue, all comments are synchronized in service desk as visible by the customer, thus exposing every internal discussion to the customer.

I would expect the sync to move all comments as internal in the service desk. I set up basic sync, bidirectional, no filters.

In the wizard, I can filter internal or external comments but for the dev team project on Jira core, the external comments do not make sense.

Is there any trick to make these comments revert to internal ones?


Answer by Juan Grases on 17 November 2020

In the outgoing script of the Jira Core, you could try this:

//Outgoing Jira Core
replica.comments = issue.comments.collect{it.internal = true; it;}

That should send over all the comments with the internal property set to true.


Comments:

Richard Vencu commented on 18 November 2020

It works, thank you.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.