Note
We've packed up and moved from Confluence to Discourse to bring you a better, more interactive space. Out of courtesy we didn't migrate your user account so - you will have to signup again
The Exalate team will be on holiday for the coming days - returning Jan 4
Enjoy & stay safe
Hi,
I'm trying to sync comments so when the author is present in both system then we do not need to have the sync user info showing by using the below
/*
Sync comments with the original author if the user exists in the local instance
Remove original Comments sync line if you are using this approach
*/
issue.comments = commentHelper.mergeComments(issue, replica){ it.executor = nodeHelper.getUserByEmail(it.author?.email) }
But if the user is not present in the remote system then use
issue.comments = commentHelper.mergeComments(issue, replica)
Is there a way to accomplish this?
Thanks,
Ziad