How to copy comment from servicenow to JIRA via JIRA spoke integration

VR17
Tera Contributor

Hi Team,

 

I have integrated JIRA and ServiceNow,   If I am adding any comment in Servicenow  on incident it is not flowing to JIRA , Vise versa is working

 

In the correlation id I am capturing the  issue id -Issue is created at JIRA end successfully

 

wanted to know what action I can use to update comments from ServiceNow to JIRA.  If anyone implemented this Kindly share the Logic

 

VR17_0-1697697574188.png

 

 

Regards, Vinita

 

 

2 REPLIES 2

Abbas_5
Tera Sage
Tera Sage

Hello @VR17,
Please refer to the below link:
https://www.servicenow.com/community/itsm-forum/stuck-in-loop-copying-comments-between-jira-and-serv...

 

If it is helpful, mark it as a thumbs-up.

Thanks & Regards,
Abbas

VR17
Tera Contributor

Hi Abbas,

 

Thank you for help , However I tried the solution mentioned in the post However  getting below error ,Any suggestion How i can fix it

Error: Cannot read property "comments" from null,Detail: Cannot read property "comments" from null

 

 Calling flow from BR ,In advance tab ,I have written below However getting error

 

(function executeRule(current, previous /*null when async*/) {

var inputs = {};
inputs['current'] = current; // GlideRecord of table:
inputs['table_name'] = 'incident';


sn_fd.FlowAPI.executeFlow('global.to_update_comment_in_jira', inputs);

})(current, previous);