The Exalate team will be on holiday for the coming days - returning Jan 4 Enjoy & stay safe
Hello, I have one custom ServiceNow field, that contains some choices and a Jira Custom Field of type String.
How can I set up my incoming and outgoing? I've programmed everything on outgoing side.
ServiceNow Outgoing
replica.customFields."Activo del Equipo" = entity.customFields."Prioridad Jira"
Jira Incoming
issue.customFields."Activo del Equipo".value = replica.customFields."Prioridad Jira"?.value
Is this ok? Does anyone know the correct sintax? Nothing seems to happen, nor even an error.
Hi Jorge,
You should try:
ServiceNow Outgoing:
replica.customFields."Prioridad Jira" = entity.customFields."Prioridad Jira"
Jira Incoming:
Let me know if this works for you now.
Kind regards,
Ariel
Hi Ariel,
Thank you for responding. It didn't work.
What is the difference between using
and replica.customFields."Prioridad Jira" = entity.u_prioridad_jira ?
Can I use the column name for my custom ServiceNow field?
Is there a way to log anything?
How can I verify if my custom field is being received by Jira?
I'm asking all this questions because the documentations is a bit incomplete.
Thanks
This is my outgoing:
if (entity.tableName == "incident" && entity.assignment_group.display_value == 'Grupo 1') { replica.key = entity.key replica.summary = entity.short_description replica.description = entity.description replica.attachments = entity.attachments replica.comments = entity.comments replica.issuetype = 'Incident' replica.customFields."Prioridad Jira" = entity.customFields."Prioridad Jira" }
This is for anyone that has the same problem:
I solved it using the following:
Outgoing
replica.u_prioridad_jira = entity.u_prioridad_jira
Incoming
entity.u_prioridad_jira = replica.u_prioridad_jira.value
Hello, I have one custom ServiceNow field, that contains some choices and a Jira Custom Field of type String.
How can I set up my incoming and outgoing? I've programmed everything on outgoing side.
ServiceNow Outgoing
replica.customFields."Activo del Equipo" = entity.customFields."Prioridad Jira"
Jira Incoming
issue.customFields."Activo del Equipo".value = replica.customFields."Prioridad Jira"?.value
Is this ok? Does anyone know the correct sintax? Nothing seems to happen, nor even an error.
Hi Jorge,
You should try:
ServiceNow Outgoing:
Jira Incoming:
Let me know if this works for you now.
Kind regards,
Ariel
Hi Ariel,
Thank you for responding. It didn't work.
What is the difference between using
replica.customFields."Prioridad Jira" = entity.customFields."Prioridad Jira"
and replica.customFields."Prioridad Jira" = entity.u_prioridad_jira ?
Can I use the column name for my custom ServiceNow field?
Is there a way to log anything?
How can I verify if my custom field is being received by Jira?
I'm asking all this questions because the documentations is a bit incomplete.
Thanks
This is my outgoing: