Dynamic URL on field Label

NFGDom
Mega Sage

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

11 REPLIES 11

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.

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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!

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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