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.
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.