When creating a data filter for a connection, which is going to send comments, you need to remember, that not all the comments have to be sent over.
You can choose to send over only the comments, which have no security restrictions:
Also, you can use the groovy collection methods, which allow for high grained control over the collection contents:
For instance, if you would like to send only Luke Skywalker's comments:
With the help of commentHelper methods, you can manipulate comments and define how the created issue comments will look like.
It's possible to merge, add, filter and format comments.
You can add the new remote comments by setting:
You can also manipulate the comments via helper methods:
You can gather statistic from the comments:
You can also make the issue comments the same as the ones, sent from the remote instance:
Danger zone: this would remove all the comments, which are not present on the remote issue replica. Use with caution.