Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to truncate the text field in Jirassimo?

Gonchik Tsymzhitov
Community Champion
September 2, 2020

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

 

1 answer

1 accepted

1 vote
Answer accepted
Vladimir Horev _RaleyApps_
Atlassian Partner
September 2, 2020

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

Gonchik Tsymzhitov
Community Champion
September 3, 2020

Thanks :) 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.7
TAGS
AUG Leaders

Atlassian Community Events