Originally asked by user-a4706 on 10 January 2021 (original question)
My scenario is:
1. I create the story in SN, add attachment. It goes to Jira fine.
2. I’m adding another attachment in Snow, it goes to Jira fine, but I have an error in SN, in the incoming script, on the line with mergeAttachments
com.exalate.api.exception.script.ScriptException: java.lang.UnsupportedOperationException
2021-01-10T06:28:37.345325000Z at com.exalate.error.services.ScriptExceptionCategoryService.categorizeProcessorAndIssueTrackerExceptionsIntoScriptExceptions(ScriptExceptionCategoryService.scala:32)
2021-01-10T06:28:37.345328400Z at com.exalate.processor.ExalateProcessor.executeProcessor(ExalateProcessor.java:47)
2021-01-10T06:28:37.345331400Z at com.exalate.replication.services.processor.ChangeIssueProcessor.$anonfun$executeScriptRules$2(ChangeIssueProcessor.scala:106)
2021-01-10T06:28:37.345334300Z at scala.util.Try$.apply(Try.scala:213)
My rules are:
-
SN outgoing: replica.attachments = story.attachments
-
SN incoming: story.attachments = attachmentHelper.mergeAttachments(story, replica)
-
Jira outgoing: replica.attachments = issue.attachments
-
Jira incoming: issue.attachments = attachmentHelper.mergeAttachments(issue, replica)
Attached the full stacktrace. Any ideas? I’m stuck.
full stacktrace.txt (old community)