I created a Script Field using the HTML template, and I'm returning html as a string, but it's rendering as plain text. I went to the Field Configuration but am unable to change the Renderer for the field (only the text fields appear to have that option). Is there something else I'm missing? The result being displayed is correct html, just as plain text.
Hi Rick,
Could you please share the script ?
Regards,
Just testing with a simple script:
def issueId = issue.id;
return "<div><p>Test - $issueId</p></div>"
Renders out as:
<div><p>Test - 1443307</p></div>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you please try the following one :
def issueid = issue.id
return "<html><body><b>Test - $issueid</b></body></html>"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.