How to add a link to a Change Request in an Incident ticket
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Is there a way to add a link to the related Change Request ticket when viewing an Incident ticket in the Employee Center?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
37m ago
Hello @asaasaasa, You can write a BR (Change Request field changes) to post the link in the Comments (Customer Visible).
Condition for BR
Code:
(function executeRule(current, previous /*null when async*/) {
var url = '[code]<a href="' + gs.getProperty('glide.servlet.uri') + '/'+'change_request' + '.do?sys_id=' + current.rfc.toString() + '" target="_blank">' + 'Related Change Request - '+current.rfc.getDisplayValue() + '</a>[/code]';
current.comments = url;
current.update();
})(current, previous);Sample Output:
