Originally asked by Yevhen on 11 November 2021 (original question)
Hello. I got the next problem. Trying to sync Jira on-premise to Jira Cloud .
Script scheme shoosen script.
On cloud side in Incoming sync script placed
issue.reporter = nodeHelper.getUserByEmail(replica.reporter.email)
reporter e-mail visible in Jira Cloud and Jira Server
But every time all issues synced with reporter “Exalate“
Comments:
Ariel Aguilar commented on 11 November 2021
Hi Yevhen,
To sync the reporter, you should use on the Incoming sync:
issue.reporter = nodeHelper.getUserByEmail(replica.reporter.email)
Kind regards,
Ariel
Yevhen commented on 12 November 2021
Damn, I made mistake in my ask. I used this particular string, with ‘reporter’
Ariel Aguilar commented on 16 November 2021
Hi Yevhen,
Is this is not working, you might want to make sure the Exalate proxy user in Cloud side has proper permissions to edit / update the issue. Please check: https://docs.idalko.com/exalate/x/Rwp1Aw
Let me know if it helped.
Kind regards,
Ariel
Yevhen commented on 18 November 2021
Hi Ariel,
I appreciate your attention for my problem.
I found that Exalate proxy-user exist, even grant him all permissions for issues directly at both sides (my current server, and cloud). In case sync from cloud to server problem resolved - reporter, assigne and other fields now correctly sync. But in case server to cloud sync I still got Exalate as reporter, and unassigned as assignee (((
Sure
issue.reporter = nodeHelper.getUserByEmail(replica.reporter.email)
issue.assignee = nodeHelper.getUserByEmail(replica.assignee.email)
added on both Exalate connections for Incoming sync