Going Stellar

Home/Jira formatting reference

Jira text formatting

Date element in Jira: ADF date node and its wiki form

Typing a date in the new editor can insert a date chip, shown in the viewer's locale. In ADF this is an inline date node with a timestamp. Wiki markup has no date macro, so the only way to make a chip is to send ADF.

Wiki markup

There is no wiki markup for this element.

Stored as ADF (REST API v3)

The ADF document Jira Cloud stores for ADF:{"content": [{"content": [{"attrs": {"timestamp": "1796083200000"}, "type": "date"}], "type": "paragraph"}], "type": "doc", "version": 1}:

{
 "type": "doc",
 "version": 1,
 "content": [
  {
   "type": "paragraph",
   "content": [
    {
     "type": "date",
     "attrs": {
      "timestamp": "1796083200000"
     }
    }
   ]
  }
 ]
}

Examples

ADF (API v3)

{"content": [{"content": [{"attrs": {"timestamp": "1796083200000"}, "type": "date"}], "type": "paragraph"}], "type": "doc", "version": 1}

Sends a date node with a timestamp in milliseconds. v2 shows it as monospaced year-month-day text.

Rendered by Jira (HTML)

<p><tt>2026-12-01</tt></p>

Back to wiki after the round trip

{{2026-12-01}}

Sent to Jira Cloud on .

Wiki markup (API v2)

{{monospaced}}

The wiki that v2 writes for a date is ordinary monospace, so a date chip and this text read the same in wiki.

Rendered by Jira (HTML)

<p><tt>monospaced</tt></p>

Back to wiki after the round trip

{{monospaced}}

Sent to Jira Cloud on .

Wiki markup (API v2)

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

Writing the date as plain text in a log block. This is the form to use in wiki, and it stays text.

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 .

What changes in conversion

  • The date node is written to wiki as {{2026-12-01}}, which is monospaced text. The timestamp and the chip are lost.
  • A date typed as wiki text stays text. It is not converted into a date node on the way to ADF.

Pitfalls

  • The probe sent 1796083200000, a timestamp in milliseconds, and read it back as 2026-12-01. The example in the documentation uses a shorter value, which was not tested.
  • The chip is formatted in the viewer's locale in the editor, while the v2 output is always year-month-day.
  • Do not search comment text for date chips through v2. They are only text there.

Sources

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

Markdown version · All formatting pages