Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Display contents of a custom field type URL as text

Ethan Foulkes
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2015

Hi,

I have a custom field type URL that holds a URL. I want to place this URL in the body of an HTML email but I want to control the text that is displayed. I tried wrapping it in href tag but this doesn't work (because it is already an href I believe). Is it possible to output just the text of the custom URL field?

This did NOT work:

<a href="$!jetiFieldRenderer.renderCustomField($issue, 'customfield_10016')">Click here</a>

1 answer

0 votes
Aleksandr Zuevich
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2016

Hi Ethan,

try 

$!issue.getCustomFieldValue("customfield_12345")

Suggest an answer

Log in or Sign up to answer