Forums

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

Code snippet removing spaces and adding it to the end. Anyone else experiencing this?

James Deam
February 11, 2026

As of 11/02/2026 when I paste SQL into a code snippet in a ticket it removes spaces between the SQL, but adds it below, however these are not real spaces.

newscreenshot.png

 

Not clear on the second screenshot but I can't put my cursor in rows 14,15,16,17,18

 

Edit:

When I click save, it trims rows 14,15,16,17,18. But when I edit it again, they are still there

Edit 2: Changed screen shot to testing a new ticket with test info:

First code snippet is direct typing.

Second code snippet is a copy of the first code snippet and pasted into it. Removes the line 2 and 5 space and adds it to the end

2 answers

1 accepted

1 vote
Answer accepted
James Deam
February 18, 2026

Update on this:

I've been on a call with Atlassian Cloud support to demonstrate the issue. They have took this away to the development team and have come back with this:

I’d like to share an update from our internal development team. They’ve identified the issue you reported, which appears to be related to a recently enabled feature intended to improve typing behavior.

The team is currently working on a fix, which will be deployed soon.

Rest assured, I’ll keep you posted with further updates.

Thanks & Regards,

Denzil Dsouza
Atlassian Cloud Support
Standard Business Hours: 12:00 pm - 9:00 pm IST (UTC +5:30)

James Deam
February 24, 2026

As of 24/02/2026 this has now been resolved

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 11, 2026

Hi @James Deam 

That seems to be a defect in the code macro.  While I could not find that specific symptom in the public backlog JAC, I did find a related one which mentions code formatting problems and the absence of a plain text editor / macro option:

https://jira.atlassian.com/browse/JRACLOUD-72631

 

Kind regards,
Bill

James Deam
February 11, 2026

Thanks for your response.

I've looked at that ticket and watched the videos, the videos seem to be on Confluence pages as opposed to JIRA tickets - I don't know enough about Atlassian whether it is the same editor in Confluence and JIRA.

I can't see anything that would relate to editor changes in their release notes in https://developer.atlassian.com/cloud/jira/platform/changelog/

I've gone back through previous JIRA tickets that I created before I noticed this change and can see that this behaviour is now applying the change to previous tickets if I try editing:

Original SQL in ticket

original sql2.png

When I edit the Jira ticket

edit sql.png

 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 11, 2026

Yup, something appears to have changed...As you are on a paid license level, I recommend working with your Jira Product Admin to submit a ticket to Atlassian Support here: 

https://support.atlassian.com/contact/#/

When you hear back from them, please post what you learn to benefit the community.  Thanks!

Like James Deam likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events