# Working with comment restrictions

**URL:** <https://community.exalate.com/t/working-with-comment-restrictions/4583>\
**Category:** General Questions\
**Tags:** exalate, comments, jiraserver, jiracloud, migrated\_question\
**Created:** [November 4, 2024, 7:07am UTC](https://community.exalate.com/t/working-with-comment-restrictions/4583 "2024-11-04T07:07:53Z")\
**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, 7:07am UTC](https://community.exalate.com/t/working-with-comment-restrictions/4583/1 "2024-11-04T07:07:53Z")

</div>

_Originally asked by Ariel Aguilar on 01 February 2021 [(original question)](https://oldcommunity.exalate.com/questions/25067552)_

* * *

There are cases where the comments we make on our internal JIRA are for internal engineer discussion that do not need to be exalated to the cloud for cloud users to see. e.g. customer. If we restrict those comments to a specific group on internal JIRA we dont want them to be sync’d or pushed over to the cloud.

How can we accomplish this?

* * *

---

<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, 7:07am UTC](https://community.exalate.com/t/working-with-comment-restrictions/4583/2 "2024-11-04T07:07:54Z")

</div>

_Answer by André Leroy-Beaulieu Castro on 01 February 2021_

Hi Ariel,

Here is a documentation link on how to manage comment visibility using Exalate:

[https://docs.idalko.com/exalate/x/QQBL](https://docs.idalko.com/exalate/x/QQBL)

With Exalate, you’ll be able to manage the visibility of the comments you send or receive, whether it be by user Role Level, Group Level, or Internal/Public in the case of Service Desk issues.

Here are some examples:

Send only the comments that are not for a specific Role Level:

Outgoing Sync:

```auto
replica.comments = issue.comments.findAll { it.roleLevel != "dev" }

```

Send only the comments that are not for a specific Group Level:

Outgoing Sync:

```auto
replica.comments = issue.comments.findAll { it.groupLevel != "jira-developers" }

```

Send only public comments (Jira Service Desk)

Outgoing Sync:

```auto
replica.comments = issue.comments.findAll { !it.internal }

```

Thanks,

André

* * *

---

<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, 7:08am UTC](https://community.exalate.com/t/working-with-comment-restrictions/4583/3 "2024-11-06T07:08:32Z")

</div>

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