# Only sync internal comments

**URL:** <https://community.exalate.com/t/only-sync-internal-comments/4174>\
**Category:** General Questions\
**Tags:** cloud-zendesk, migrated\_question\
**Created:** [November 4, 2024, 6:36am UTC](https://community.exalate.com/t/only-sync-internal-comments/4174 "2024-11-04T06:36:27Z")\
**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:36am UTC](https://community.exalate.com/t/only-sync-internal-comments/4174/1 "2024-11-04T06:36:27Z")

</div>

_Originally asked by Mikael Bohlin on 13 March 2020 [(original question)](https://oldcommunity.exalate.com/questions/11338358)_

* * *

Hi,

how can i sync only internal comments from Zendesk ?

Mikael BSource: [Zendesk](https://oldcommunity.exalate.com/pages/viewpage.action?pageId=3703241)_(old community)_

* * *

---

<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:36am UTC](https://community.exalate.com/t/only-sync-internal-comments/4174/2 "2024-11-04T06:36:28Z")

</div>

_Answer by Juan Grases on 13 March 2020_

Hi!

On your zendesk (or any other platform) outgoing sync, you can filter comments with:

```auto
//Outgoing script
replica.comments = issue.comments.findAll{it.internal}

```

This would only send internal comments to the other side.

* * *

---

<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:37am UTC](https://community.exalate.com/t/only-sync-internal-comments/4174/3 "2024-11-06T06:37:25Z")

</div>

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