Dynamic URL on field Label
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2022 01:33 PM
Hello!
I'm looking for some guidance on how to set this up. I want to have a URL on a label that pulls in the value of its field to point to a location. The URL prefix would be "https://<instance>.atlassian.net/browse/" and the suffix would be value of the field; example "SNOW-1234".
Let me know if I can provide any other information & thanks in advance!
Dom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2022 04:33 AM
It is currently a string field marked as read only. When an Incident or SC Task is created the field gets populated with a key that is used to denote the record in Jira. I just want to try to add a link back to Jira for the users to easily jump between the two systems.
I have not tried anything so far as I'm looking for best way to try this out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2022 04:34 AM
Hi,
so how are you populating that string field?
You make that field as URL type and add the link along with the key
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2022 06:51 AM
Currently that field is populated via a Flow - once the key is generated from the Jira side its returned to ServiceNow and put into the string field. I can take a look more at the flow to see what I can do there. It was created by a vendor so I don't want to change it too much.
Thank you for the suggestion!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-10-2022 10:02 PM
Hi,
if you add URL in string field it won't be clickable one
So better create URL field and form the URL from flow and set it
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2022 04:24 AM
Yes, of course! Do you know if when using the URL field type if its possible to format the URL? i.e. <a href="https://my_link.com">My Label</a>
Thanks!
Dom