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

**URL:** <https://community.exalate.com/t/comments-sync-between-cloud-core-and-cloud-service-desk-arrive-visible-to-customer-by-default/4390>\
**Category:** General Questions\
**Tags:** exalate, jira-cloud, service-desk, migrated\_question\
**Created:** [November 4, 2024, 6:53am UTC](https://community.exalate.com/t/comments-sync-between-cloud-core-and-cloud-service-desk-arrive-visible-to-customer-by-default/4390 "2024-11-04T06:53:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:53am UTC](https://community.exalate.com/t/comments-sync-between-cloud-core-and-cloud-service-desk-arrive-visible-to-customer-by-default/4390/1 "2024-11-04T06:53:24Z")

</div>

_Originally asked by Richard Vencu on 15 October 2020 [(original question)](https://oldcommunity.exalate.com/questions/20120088)_

* * *

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?

* * *

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 4, 2024, 6:53am UTC](https://community.exalate.com/t/comments-sync-between-cloud-core-and-cloud-service-desk-arrive-visible-to-customer-by-default/4390/2 "2024-11-04T06:53:25Z")

</div>

_Answer by Juan Grases on 17 November 2020_

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

```auto
//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.

---

<div class="post-metadata">

**Author:** ![xl8bot](https://dub1.discourse-cdn.com/flex018/user_avatar/community.exalate.com/xl8bot/32/324_2.png) [@xl8bot](https://community.exalate.com/u/xl8bot)\
**Post date:** [November 6, 2024, 6:53am UTC](https://community.exalate.com/t/comments-sync-between-cloud-core-and-cloud-service-desk-arrive-visible-to-customer-by-default/4390/3 "2024-11-06T06:53:29Z")

</div>

Closed on November 6, 2024, 6:53am UTC

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