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, We have some issues implementing.
The most important thing right now is the next error:
Jira Cloud error
Internal comments cannot be processed. The reason is: Request Type custom field is required, but not set..
This is happening when sending from Zendesk to Jira. Hope you can help.
Cheers Maarten
This is our script:
//status in Zendesk naar Open bij wijziging status in Jira
def statusMapping = [
// Jira issue status <-> Zendesk ticket status
"Backlog" : "open",
"In Progress" : "open",
"Done" : "open",
"Afgerond" : "open"
]
def defaultStatus = "open"
def statusName = statusMapping[replica.status?.name] ?: defaultStatus
issue.status = nodeHelper.getStatus(statusName)
//attachments from Jira are intern comment in Zendesk
replica.addedAttachments = replica.addedAttachments.collect
{it.internal = true; it}
issue.attachments = attachmentHelper.mergeAttachments(issue, replica)
//maak alle comments intern in Zendesk
issue.comments = commentHelper.mergeComments(issue, replica,
{ comment -> comment.internal = true comment }
)
Hi Marten,
Exalate sync rules are divided in Outgoing sync and Incoming sync rules. If you are having problems in Jira Cloud. It would be helpful if you can share the code used for Zendesk "Outgoing" script and Jira Cloud "Incoming" script. The code you have shared I believe is the ZenDesk "Incoming"? Once you share both needed codes we can definitely see why the error is generated. Then, in Jira Cloud do you have a Service Desk instance?
Kind regards,
Ariel