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
atlassian, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

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
AUG Leaders

Atlassian Community Events