Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Html in Description via REST

mc-webcore
Tera Contributor

 

Using Rest API ,  i create a ticket with Html in the description,  but it add it with visibale tags,  but in commments it renders correctly.

 

How do you add description field with html via REST?

 

mcwebcore_0-1679743931976.png

 

1 REPLY 1

Not applicable

[code] tags only work in journal fields, like comments/work notes. You can't render HTML in the description field. You'd need to remove the HTML using a method such as RegEx - you can find more detail about that on this post: https://www.servicenow.com/community/developer-forum/remove-html-tags-when-copying-into-a-string-fie...