The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to only copy first line value in Multi line text field to another Multi line text field

Kris Han
Contributor
October 28, 2019

Hi,

Is there any way which can only copy first line value in one Multi line filed to another multi line text filed? No matter using Post function or Behaviours. Thank you very much!

 

Best Regards,

Ben 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alex Koxaras -Relational-
Community Champion
September 11, 2023

Hi @Kris Han 

I would try to search on the string of the multi line field where the lines changes. The first occurence https://stackoverflow.com/questions/14347202/how-to-detect-line-breaks-in-java