Hello,
After a bug resolved in our script we are experiencing problems with duplication of logs which are entered manually on the receiving site. We sync two Jira cloud sites and using Tempo for the workLogs. Here is the script we are trying to implement but it pops an error on line 23(the filtering) which suggests that the solution is to duplicate the parsed workLog but is does not help. Our goal is to sync workLogs after the start of February 2025. I am posting the outgoing script we are using. Some help will be much appreciated.
issue.workLogs = workLogHelper.mergeWorkLogs(issue, replica).findAll { workLog →
workLog.created > new Date().parse(“yyyy-MM-dd”, “2024-02-01”)
}
Thank You
Mario