Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Preserving text formats in Custom Fields

I noticed in working with custom fields in where \n is embedded in the text that these are kept unchanged. When retrieved and shared with another app the data is formatted correctly. 

However, if the card is open either on the desktop or I suspect also in ios or Android app that these formats no longer works.

Is there a workaround this ? or the would be a new feature request?

1 answer

1 accepted

0 votes
Answer accepted
Iain Dooley Community Leader Jun 02, 2020

@SGi Admin there aren't currently any "paragraph" custom field types capable of rendering line breaks

What I am sharing is that line breaks disappear only when you open (I think you have to go to that field) and save the card - otherwise the \n appears to work at this when presented on my client. 

Iain Dooley Community Leader Jun 02, 2020

@SGi Admin I think I see what you mean: you post data to a custom field via the API with line breaks, then retrieve via the API and it still has line breaks, but when you go to the card and view it, then retrieve via the API, the line breaks have been removed. No way round this I'm afraid. You could do something like use a semi-colon delimeter to indicate a line break then sub these in when you retrieve the value and pass it back to your client.

Yes, that had been my experience. Your suggestion is workable. Hence I will mark this Answer as “Accepted”

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 What is Trello?

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. I'll be sharing with you a series of videos with my top tips on how to best use Trello...

780 views 13 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you