Hi!
Could you help me with the use case?
We have a huge description.
I've tried to make it via the display tools (https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DisplayTool.html), stringUtils - no luck.
Also, substring does now work :(
I will be happy to understand how to truncate the text from field data.
Cheers,
Gonchik Tsymzhitov
Hi,
You could use substring() to limit the number of characters that are output for a text field like this:
$!issue.fields.descriptionHTML.substring(0, 100)
Best,
Vlad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!
Register today
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.