Questions for Confluence license has expired.

Please purchase a new license to continue using Questions for Confluence.

Sync comments that are restricted to project roles

 
1
0
-1

Dear exalate team,


I´d like to ask you regarding the synchronization of comments that are restricted to particular project roles.

The synchronization is between two Jira instances, in the source instance, users can add comments and set the visibility of the comment to a project role. "Internal" comments shouldn´t be synced.


System is Jira Core.


Thank you,

Best regards,

Peter Pesta

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi Peter,


      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" }


      Thanks,

      Ariel

        CommentAdd your comment...