xl8bot
1
Originally asked by Dhiren Notani on 23 April 2022 (original question)
I tried with this logic in the outgoing sync in ServiecNow side.
if(entity.tableName == “sc_request”) {
replica.key = entity.key
replica.summary = entity.short_description
replica.description = entity.description
replica.attachments = entity.attachments
replica.comments = entity.comments
replica.state = entity.state
}
The internal name of Request is sc_request and I got this from ‘Tables’ section.
I tried to exalate this ticket, but it’s not working due to some reason. Please let me know how do I sync this.
Thanks,
Dhiren
xl8bot
2
Answer by Francis Martens (Exalate) on 23 April 2022
Hi Dhiren Notani
- What is not working?
- Did you try it with the entity sync status form (in the exalate console)
- Is the trigger selecting the right records
- What else did you tried
Comments:
Dhiren Notani commented on 23 April 2022
Hi Francis Martens (Exalate)
The Request entity from ServiceNow is not getting synced to Jira
Yes, I tried it with the manual mode using entity sync status form (with entity as sc_request)
Trigger is selecting the records, as I tapped on bulk exalate and a popup was seen and it said you are about to exalate 1 record.
I tried all this but still the status of synchronization was not changed. (It remained ‘Not Synchronized’ even with manual mode).
if(entity.tableName == “sc_request”) {
replica.key = entity.key
replica.summary = entity.short_description
replica.description = entity.description
replica.attachments = entity.attachments
replica.comments = entity.comments
replica.state = entity.state
}
This was my outgoing script in ServiceNow.
For Jira incoming, it was the out-of-the-box script.
Thanks,
Dhiren