Forums

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

Leading spaces in comments are being stripped in both Visual and Text mode

Aidan Satterwhite June 24, 2025

Hey guys, I'm running into an issue with comment formatting after upgrading to Jira Data Center 8.13.27.

 

When pasting in text from another source to a Jira comment:
- In 'Text' mode, leading spaces are visible after pasting in the text, but stripped out after adding the comment.

- In 'Visual' mode, leading spaces are immediately stripped out upon pasting in the text

This leads to a frustrating amount of time lost formatting comments. These are actual space characters, not tabs.

 

Is there any change we can make to reliably preserve leading spaces in comments? I've read that there are some issues with the WYSIWYG/TinyMCE RTE editor (which was enabled after the upgrade) that could be causing this, but I'd like to avoid disabling RTE for comments as our users seem to really like it. I'm also unsure if this issue is fixed in later versions of Jira Data Center. We plan to be up-to-date by the end of the year, so this could become a non-issue if the bug is resolved with a newer version.

 

Thank you!

1 answer

0 votes
Tuncay Senturk _Snapbytes_
Community Champion
June 25, 2025

Hi @Aidan Satterwhite 

Yes, that's one of the frustrating issues. I used to use {code} or {noformat} macros to preserve the leading spaces:

{noformat}

     after the spaces

{noformat}

It's annoying to add these macros just to keep spaces, but I haven't a clue if there's a more reliable way to fix this.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.13.27
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events