Jira Chrome code indentation not working

BBC Application Admin Team January 14, 2019

Problem : Code loses indentation / formatting on the visual editor.

Browser : Chrome V70

Jira version : server 7.3.2 / 7.6.9.

Replication :Entering code into {code} and {noformat} blocks used in comments on Jira / Chrome causes it to lose indentation.

This does not happen on FireFox.

code to use -

test 1{
    This is a test {
                }
        filter {
           MORE TESTING;        }
      
    }
}

2 answers

1 accepted

0 votes
Answer accepted
Earl McCutcheon
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 15, 2019

Hello,

Try Updating your Chrome version, I just tested this out on Jira version 7.6.9 and the latest Chrome Version 71.0.3578.98, and it pasted and preserved the formatting without issue in the visual editor:

Screen Shot 2019-01-15 at 2.40.22 PM.png

Let me know if you see different behavior after updating the browser.

Regards,
Earl

BBC Application Admin Team January 16, 2019

@Earl McCutcheonv71 is the fix. Thanks for your help!

Like Earl McCutcheon likes this
BBC Application Admin Team February 20, 2019

It isnt working now for some reason

1 vote
Reza Seedin February 19, 2019

Hi @Earl McCutcheon ,

 

I'm using Version 72.0.3626.109 (Official Build) (64-bit) but get this. Using code block in this works as expected (below)

but in our native JIRA I get this instead. Note code looses tabbing as well.

image.png

 

 


[
{
"email": "test@test.com",
"loyaltyNo": "0000",
"points": "2",
"freeGiftsCount": "0.2",
"giftsClaimed": "1"
},
{
"email": "lt@test.com",
"loyaltyNo": "000",
"points": "21",
"freeGiftsCount": "2.1",
"giftsClaimed": ""
}
]



 But note tabbing is LOST again 

Suggest an answer

Log in or Sign up to answer