Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Code Formatting incorrectly in JIRA comments and not indenting as before (FEB 2019)

Reza Seedin
Contributor
February 20, 2019

Hi All,

With the new update the JIRA code block comment loose its formatting

Using Chrome : Version 72.0.3626.109 (Official Build) (64-bit)

image.pngimage.png

 

Anyone had this issue?


Regards

 

Reza

1 answer

1 vote
Justin Alex Paramanandan
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 Leaders.
February 20, 2019

Hi @Reza Seedin ,

I cannot seem to reproduce this from my end:

  • Version: Jira 8.0.1
  • Platform: Server
  • Browser: Chrome Beta 73.0.3683.39

I used the following format for the code block:

{code}
[
{
"email": "test@abc.com",
"points": "21"
},
{
"email": "test2@abc.com",
"points": "22"
}
]
{code}

 And the result is as follow:

image.pngAre you on the server or cloud platform?

Reza Seedin
Contributor
February 24, 2019

Hi @Justin Alex Paramanandan ,

My client uses Jira Cloud

Kind Regards

Reza

Reza Seedin
Contributor
February 24, 2019

Before the update I could add the "Code" tags and then Paste inside of it. Now when I select code option still gives me the funny formattingimage.png

image.png

I did see as the upgrade was done when I paste it automatically formatted without any intervention.

 

Regards

Reza

Justin Alex Paramanandan
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 Leaders.
February 25, 2019

Hi @Reza Seedin 

Ah-ha! That seems to be the problem with the new view for Jira Cloud. I manage to replicate this on my end with the new view as well.

Your best bet is to provide your feedback to Atlassian about this (I just did!)

In any case, if you rollback to the old view, your code should be formatted nicely.

Like Reza Seedin likes this
Reza Seedin
Contributor
February 25, 2019

Hi @Justin Alex Paramanandan ,

Thanks for reporting it, If it would help can should I add my feedback to the link you shared? Unfortunately roll back is out of my control as the Jira is used by a client of mine and I am just a user.

Kind Regards

Reza

Justin Alex Paramanandan
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 Leaders.
February 26, 2019

Heya @Reza Seedin 

If it would help can should I add my feedback to the link you shared? 

Not a problem! It is a feedback form that Atlassian keeps track off, so feel free to do so!

roll back is out of my control

That is true, but a Jira Cloud user has the ability to turn this feature off. You can turn the new view off by navigating to your profile settings (https://<ATLASSIAN_CLOUD_URL>/secure/ViewPersonalSettings.jspa) and turning off the Labs feature.

2019-02-27_11-47-01.png

Reza Seedin
Contributor
February 26, 2019

Hi @Justin Alex Paramanandan ,

Perfect did not know it was something that I could turn off for myself. Did that now and added the feedback when I did turn it off.

Thanks, Mate for your help

Regards

Reza

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events