if(firstSync){ issue.projectKey = "ET" // Set type name from source issue, if not found set a default issue.typeName = nodeHelper.getIssueType(replica.type?.name, issue.projectKey)?.name ?: "Problem" } issue.summary = replica.summary issue.description = replica.description issue.comments = commentHelper.mergeComments(issue, replica, {it}) issue.attachments = attachmentHelper.mergeAttachments(issue, replica) issue.labels = replica.labels // Custom Fields issue.customFields."10126".value = replica.customFields."11900"?.value?.value