Changes to the Jira Cloud REST API related to the user privacy improvements caused by the Atlassian GDPR compliance.
Check the deprecation notice and migration guide for major changes to Jira Cloud REST APIs to improve user privacy for more details.
If you sync Users between Jira Cloud instances: replace the following line in the Sync ruleswith this line
If you sync Users between Jira Cloud and Jira on-premise: replace the following line in the Sync ruleswith this line
We've used the reporter field for demonstration purposes. The solution also can be used to fix other User fields sync such as assignee, watchers, comment executor, etc.
E.g. Replace the field for the assignee:
issue.assignee = nodeHelper.getUserByUsername(replica.assignee?.username)
issue.assignee = replica.assignee