Going Stellar

Home/Jira formatting reference

Jira text formatting

Wiki macros Jira Cloud does not render, and what you see

Only a few macros are rendered by the wiki renderer in Jira Cloud: color, quote, panel, code and noformat. Any other macro name is treated as text. The braces stay in the comment, nothing is hidden and no error appears.

Wiki markup

{toc}
{html}...{html}
{section}{column}...{column}{section}
{jira:KEY-1}

Examples

Wiki markup (API v2)

{toc}

A table of contents macro. It is shown as the text {toc}.

Rendered by Jira (HTML)

{toc}

Back to wiki after the round trip

{toc}

Sent to Jira Cloud on .

Wiki markup (API v2)

{html}<b>x</b>{html}

A raw HTML macro. The markup is escaped in the render and not applied.

Rendered by Jira (HTML)

{html}&lt;b&gt;x&lt;/b&gt;{html}

Back to wiki after the round trip

{html}<b>x</b>{html}

Sent to Jira Cloud on .

Wiki markup (API v2)

{section}{column}a{column}{section}

Column layout from the Confluence wiki docs. It is plain text in Jira.

Rendered by Jira (HTML)

{section}{column}a{column}{section}

Back to wiki after the round trip

{section}{column}a{column}{section}

Sent to Jira Cloud on .

Wiki markup (API v2)

{jira:WEB-1}

An issue-listing macro. Nothing is looked up.

Rendered by Jira (HTML)

{jira:WEB-1}

Back to wiki after the round trip

{jira:WEB-1}

Sent to Jira Cloud on .

Wiki markup (API v2)

{unknownmacro}

A made-up name behaves the same as the real ones above.

Rendered by Jira (HTML)

{unknownmacro}

Back to wiki after the round trip

{unknownmacro}

Sent to Jira Cloud on .

Wiki markup (API v2)

{status}DONE{status}

A lozenge macro. Only ADF has the status node.

Rendered by Jira (HTML)

{status}DONE{status}

Back to wiki after the round trip

{status}DONE{status}

Sent to Jira Cloud on .

Wiki markup (API v2)

{expand}
hidden
{expand}

A collapsible macro. Only ADF has expand.

Rendered by Jira (HTML)

{expand}<br/>
hidden{expand}

Back to wiki after the round trip

{expand}
hidden
{expand}

Sent to Jira Cloud on .

What changes in conversion

  • An unsupported macro is stored as ordinary text in an ADF paragraph, with line breaks as hard breaks, and written back unchanged.
  • ADF has nodes for some of these ideas (status, expand, panel types), but v2 wiki cannot create them. The node has to be sent through v3.
  • A node that wiki cannot express is written by v2 as an {adf} block with the node as JSON, with a placeholder in the html.

Pitfalls

  • Copying Confluence wiki markup into a Jira comment leaves macro text in the comment. Check the render before sending.
  • A missing macro gives no warning. The only sign is braces in the text.
  • {html} does not allow raw HTML. The markup is escaped.

Sources

  1. Text Formatting Notation Help (Jira, in-product help)
  2. Confluence wiki markup (Atlassian Documentation)

Markdown version · All formatting pages