1
0
-1

Hi all,


I'm currently working on a bi-directional sync between two Jira projects (Project A and Project B). However, when it comes to the ticket comments, I would like to get them synchronized one way only (from Project A to Project B).

Is this something I can achieve? Please let me know if anyone had a similar request. 


Thanks


Outgoing sync: 

replica.comments       = issue.comments


Incoming sync:

issue.comments     = commentHelper.mergeComments(issue, replica)

    CommentAdd your comment...

    2 answers

    1.  
      1
      0
      -1

      Hi Eugene A 


      Thank you for connecting with Exalate Community. 

      The answer shared by Richard K is correct and you only need to comment out the comment lines as mentioned in his reply. Thank you for the input Richard K  (smile)


      BR, 

      Jillani

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Hi,


        we are synchronising two Jira cloud instances the same way. Comments sync only from instance "A" to instance "B"
        We just commented out in Exalate script the proper lines.


        In instance "A" incoming: //issue.comments     = commentHelper.mergeComments(issue, replica)
        In instance "B" outgoing: //replica.comments       = issue.comments 


        Best regards,

        Richard


          CommentAdd your comment...