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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.