I wanted to use the Preformatted style in the comment section to apply to a JSON code.
Note: JIRA is adding the double braces when trying to apply "Preformatted" style.
{{
{
"id": "test",
"key": "testkey"
}
}}
But doesn't work, just shows the double curly braces. So I thought maybe it's having problems escaping the curly brace from the JSON data, so tried to surround it first with "_", like:
{{
_{
"id": "test",
"key": "testkey"
}_
}}
Not working too. Also, it seems to be removing the newline chars within the the json data so the whole thing comes out in a single line.