2
1
0

Context: As I’m trialing the connections, the synchronization is recreating all comments, etc between Zendesk and Jira. However, for the migration, all I want is for the link to be created so that subsequent data is synchronized, without duplicating the existing data. Can this be done?


Related to the questions:
How to set up a sync between multiple Zendesk tickets to one Jira Cloud issue?

    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Sure - replica.comments has the 'addedComments' field.  Just use


      issue.comments += comments.addedComments

      And you should be fine.

      1. James Gwynne

        Thank you. I'm not sure if my implementation was incorrect and I changed something fundamental in the process, but I changed it to

        issue.comments.addAll(replica.addedComments) 

        with the same format for attachments and that seems to work. The solution you gave didn't seem to work initially (even though it's supposedly the same as addAll()?)


        James

      2. Francis Martens (Exalate)

        hmm - not sure what to answer.  addAll is indeed resulting in the same

      CommentAdd your comment...