We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

ServiceNow to Jira

Vedavalli
Mega Sage

Hi
I want to send from servicenow flow designer as a hyperlink to jira description field,  but in flow designer action for description field in jira we used : 

var instanceUrl= gs.getProperty("glide.servlet.uri");

var iUrl=instanceUrl+'incident.do?sys_id=' + fd_data.trigger.current.sys_id;

var url = '<a href="'+iUrl+ '">' "ServiceNow |"+ fd_data.trigger.current.number + '</a>';

return url;


but it's posting as to jira description :
<a href="https://instance.service-now.com/now/nav/ui/classic/params/target/incident.do">"ServiceNow|INC00001"...

we want as Servicenow | INC0001233 (HYPERLINK) IN JIRA description field

6 REPLIES 6

yashkamde
Kilo Sage

Hello @Vedavalli ,

 

Try wrapping up your url into [...] :

as 

var instanceUrl = gs.getProperty("glide.servlet.uri");
var iUrl = instanceUrl + 'incident.do?sys_id=' + fd_data.trigger.current.sys_id;

var url = '[ServiceNow | ' + fd_data.trigger.current.number + '|' + iUrl + ']';
return url;

 

[...] → denotes a link in Jira wiki markup.

Screenshot 2026-03-06 165420.png

 

If my response helped mark as helpful and accept the solution.

Not working