clikable link at JIRA site from servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 02:30 AM
I want a clickable link from SN to JIRA while creating issue in the comment section
I am adding code on service now in script include side as
-------------------------------------------------------------------------------------------------------
var linkTemp='https://'+gs.getProperty('instance_name')+'.service-now.com';
var issueLink=Task.getValue('sys_updated_by') + ' : Issue created from ServiceNow Ticket'+'\n'+'[SN Record|'+linkTemp + '/'+Task.getValue('sys_class_name') + '.do?sys_id=' + Task.getValue('sys_id')+']';
It is not clickable.
as in this format, I was changing --->
[link name|http://example.com]
Thanks in advance!!!
----------------------------------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 02:40 AM - edited 01-04-2024 02:41 AM
Hi @fgh1
you have to build a real HTML link and enclose it that way:
[code]<a href="www.jira.com" target="_blank">Link text</a>[/code]
Also see: https://www.youtube.com/watch?v=bB76PWXWBXI
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2024 04:26 AM
HI,
the solution you have provided as it is from SN to JIRA. dynamic in a comment. I have tried it but still, it is not clickable. can you please check this?
at jira end
I think format is right. but it is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 01:30 AM
No luck