Originally asked by Anshuman Bakshi on 11 March 2021 (original question)
Hi,
We are trying to synchronize value of Jira custom field “SNOW Comments” to “Additional comments (Visible to Customer)” in servicenow and the rules are configured as below:
Outgoing Rule Jira Side:
replica.customFields.“SNOW Comments” = issue.customFields.“SNOW Comments”
Incoming Rules SNOW Side:
incident.comments += replica.customFields.“SNOW Comments”
We are getting below Error:
Error Detail Message:
Unexpected error occurred. One or more comments in ‘hubIssue.getComments’ is not of type IHubComment but `com.exalate.basic.domain.hubobject.v1.BasicHubCustomField` Generate an exalate support.zip file and contact support.
Error Stack Trace
com.exalate.api.exception.bug.hubobjects.UnsupportedHubObjectsVersionBugException: Unexpected error occurred. One or more comments in ‘hubIssue.getComments’ is not of type IHubComment but `com.exalate.basic.domain.hubobject.v1.BasicHubCustomField` Generate an exalate support.zip file and contact support. at com.exalate.error.services.BugExceptionCategoryService.generateUnsupportedHubObjectsVersionBugException(BugExceptionCategoryService.scala:32) at com.exalate.hubobject.HubObjectValidator.checkCollectionConsistency(HubObjectValidator.java:115) at com.exalate.hubobject.HubObjectValidator.checkDataStructuresConsistency(HubObjectValidator.java:70) at com.exalate.hubobject.HubObjectValidator.validateIssueReplica(HubObjectValidator.java:54) at com.exalate.replication.services.processor.ChangeIssueProcessor.updateIssue(ChangeIssueProcessor.scala:147) at com.exalate.replication.services.processor.ChangeIssueProcessor.$anonfun$executeScriptRules$4(ChangeIssueProcessor.scala:133) at scala.concurrent.Future.$anonfun$flatMap$1(Future.scala:307) at scala.concurrent.impl.Promise.$anonfun$transformWith$1(Promise.scala:41) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:64) at akka.dispatch.BatchingExecutor$AbstractBatch.processBatch(BatchingExecutor.scala:56) at akka.dispatch.BatchingExecutor$BlockableBatch.$anonfun$run$1(BatchingExecutor.scala:93) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:85) at akka.dispatch.BatchingExecutor$BlockableBatch.run(BatchingExecutor.scala:93) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:48) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(ForkJoinExecutorConfigurator.scala:48) at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)