Answer by André Leroy-Beaulieu Castro on 03 February 2021
Hello Madhu,
Thanks for raising this community question!
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:
replica.comments = issue.comments.findAll { it.roleLevel != "dev" }
Send only the comments that are not for a specific Group Level:
Outgoing Sync:
replica.comments = issue.comments.findAll { it.groupLevel != "jira-developers" }
Send only public comments (Jira Service Desk)
Outgoing Sync:
replica.comments = issue.comments.findAll { !it.internal }
---
Regarding the restriction of attachments, what criteria do you want to use to restrict attachments?
Thanks,
André
Comments:
Madhu commented on 05 February 2021
Hi Andre,
We are able to restrict comments and my question is all about restricting Attachments.
And my criteria is, When we add Attachments to the Jira Comments, Those attachments will be directly added to the Jira Attachments right.
So in that case we want to Restrict the particular attachments which are added to Restricted comments should be restricted.
If I am adding restricted comment we want to restrict the attachments added to that restricted comment.
And If I am adding normal comment, Attachments should not be restricted.
Hope my point is clear now.
Thanks
Madhu