Questions for Confluence license has expired.

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

Requester sync between 2 Zendesk Nodes

 
1
0
-1

How to sync Requester between 2 Zendesk Nodes in a Script Mode?
I'm guessing it will not work if I just add 

issue.status         = replica.status

in outgoing sync on both sides...

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Hey, Mariia Onyshchenko, requester is a different field from status.
      I believe it's managed through 

      issue.reporter

      property. Would this work:

      issue.reporter = nodeHelper.getUserByEmail(replica.reporter?.email) ?: ({ user -> user.key = user.email; user })(replica.reporter) 

      Regards, Serhiy.

        CommentAdd your comment...