Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

How can get ride of Line Separator Character in Code snippets

When someone post a code in issue (for example technical part) and she/he use Mac the code may contain Line Separator unicode character (U+2028 : LINE SEPARATOR) that seems not correct!


How can I get ride of those? is there any fix for that?

1 answer

1 accepted

0 votes
Answer accepted
John M Funk Community Leader Jun 24, 2022

Hi Sedeq - Welcome to the Atlassian Community!

Maybe try this: 

Use {{issue.summary.replaceAll("\n", "")}} to remove all newline characters ("\n") instead of {{issue.summary}}.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,237 views 35 44
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