Forums

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

How to get the value (with line breaks) of a multiline text field?

Sascha Ziemann
Contributor
January 17, 2021

I use the function getCustomFieldValue to read the value of a multi-line custom field. But when I use toString() on the return value, the line breaks disapear. The string contains just spaces.

How can I preserve the line breaks?

1 answer

1 accepted

0 votes
Answer accepted
Sascha Ziemann
Contributor
January 17, 2021

Line breaks are there. It was just a display error.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events