Going Stellar

Home/Jira formatting reference

Jira text formatting

{noformat} in Jira: preformatted text without highlighting

{noformat} shows text exactly as typed, in a monospaced box with no syntax highlighting and no wiki formatting inside. It takes the same optional parameters as {panel}. In ADF it is a codeBlock without a language.

Wiki markup

{noformat}...{noformat}
{noformat:title=Log|borderStyle=dashed}...{noformat}

Stored as ADF (REST API v3)

The ADF document Jira Cloud stores for ADF:{"content": [{"attrs": {}, "content": [{"text": "no lang", "type": "text"}], "type": "codeBlock"}], "type": "doc", "version": 1}:

{
 "type": "doc",
 "version": 1,
 "content": [
  {
   "type": "codeBlock",
   "content": [
    {
     "type": "text",
     "text": "no lang"
    }
   ]
  }
 ]
}

Examples

Wiki markup (API v2)

{noformat}
preformatted piece of text
 so *no* further _formatting_ is done here
{noformat}

The help example. Asterisks and underscores stay as typed, which is what you want for logs and stack traces.

Rendered by Jira (HTML)

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>preformatted piece of text
 so *no* further _formatting_ is done here
</pre>
</div></div>

Back to wiki after the round trip

{noformat}preformatted piece of text
 so *no* further _formatting_ is done here{noformat}

Sent to Jira Cloud on .

Wiki markup (API v2)

{noformat:title=Log|borderStyle=dashed}
2026-11-29 ERROR
{noformat}

Adds a title and a dashed border. The title is kept as a bold line; the dashed border is not.

Rendered by Jira (HTML)

<div class="preformatted panel" style="border-style: dashed;border-width: 1px;"><div class="preformattedHeader panelHeader" style="border-bottom-width: 1px;border-bottom-style: dashed;"><b>Log</b></div><div class="preformattedContent panelContent">
<pre>2026-11-29 ERROR
</pre>
</div></div>

Back to wiki after the round trip

*Log*

{noformat}2026-11-29 ERROR{noformat}

Sent to Jira Cloud on .

Wiki markup (API v2)

{noformat}one line{noformat}

Single-line form. It still renders as a block and round-trips unchanged.

Rendered by Jira (HTML)

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>one line</pre>
</div></div>

Back to wiki after the round trip

{noformat}one line{noformat}

Sent to Jira Cloud on .

ADF (API v3)

{"content": [{"attrs": {}, "content": [{"text": "no lang", "type": "text"}], "type": "codeBlock"}], "type": "doc", "version": 1}

Starts from ADF. A codeBlock without a language is written to wiki as {noformat}, which is the reverse of the first example.

Rendered by Jira (HTML)

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
<pre>no lang</pre>
</div></div>

Back to wiki after the round trip

{noformat}no lang{noformat}

Sent to Jira Cloud on .

Wiki markup (API v2)

{code:typescript}
let a = 1
{code}

A {code} block whose language is rejected ends up as {noformat} after the ADF round trip.

Rendered by Jira (HTML)

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div class="error"><span class="error">Unable to find source-code formatter for language: typescript.</span> Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml</div><pre>let a = 1
</pre>
</div></div>

Back to wiki after the round trip

{noformat}let a = 1{noformat}

Sent to Jira Cloud on .

What changes in conversion

  • {noformat} maps to a codeBlock with no language, and the reverse holds: a codeBlock with no language is written back as {noformat}.
  • title becomes a bold paragraph above the block and borderStyle is dropped, the same as for {code}.
  • The line breaks after the opening tag and before the closing tag are removed on the way back, so a multi-line block is written as {noformat}text{noformat}.

Pitfalls

  • Nothing inside is parsed, including a stray {noformat} written inside the block. Close it on its own line.
  • A language after the colon, such as {noformat:python}, is not part of the documented syntax. Use {code} for highlighting.
  • Do not expect the dashed border or custom colours to survive editing in the new editor.

Sources

  1. Text Formatting Notation Help (Jira, in-product help)
  2. ADF node: codeBlock (Jira Cloud platform)

Markdown version · All formatting pages