Confluence has been updated to ver 6.15.9. In case of any troubles, please contact infra team.

Questions

 
2
1
0

We're syncing issues between Jira Cloud and GitHub. There are some comments we want to have Exalate add on one side and not sync back to the other.


The commentHelper.addComment documentation says the method signature is:


addComment(String body, Boolean sync, List comments )


And then says that (somewhat confusingly) setting sync to true will not sync the comment. However, whether or not we set sync to true, false, or don't set it at all, the comment always syncs. For example, all 3 of these lines have identical behavior—they add a new comment and sync it back:


issue.comments = commentHelper.addComment("Assigned to " + assignee.displayName, true, issue.comments)
issue.comments = commentHelper.addComment("Assigned to " + assignee.displayName, false, issue.comments)
issue.comments = commentHelper.addComment("Assigned to " + assignee.displayName, issue.comments)
    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hi!

      Actually the second option you tried should work, but we have identified we have a bug and it's currently not working. We will be working on a fix and we will let you know once it's deployed.


      Sorry for the inconvenience,


      Juan

        CommentAdd your comment...