Going Stellar

Home/Jira formatting reference

Jira text formatting

Jira emoticons: (y), (/), :) and what ADF stores

Wiki markup turns a short code such as (y) or :) into a small image. Cloud stores each one as an emoji node. Wiki markup supports them everywhere, and ADF has no emoticon code, only the emoji short name.

Wiki markup

:) :( :P :D ;)
(y) (n) (i) (/) (x) (!)
(+) (-) (?) (on) (off) (*) (flag) (flagoff)

Stored as ADF (REST API v3)

The ADF document Jira Cloud stores for (/):

{
 "type": "doc",
 "version": 1,
 "content": [
  {
   "type": "paragraph",
   "content": [
    {
     "type": "emoji",
     "attrs": {
      "shortName": ":check_mark:",
      "id": "atlassian-check_mark",
      "text": ":check_mark:"
     }
    }
   ]
  }
 ]
}

Examples

Wiki markup (API v2)

:)

Add a smile. It is stored as the shortName :slight_smile: and returned as a Unicode character.

Rendered by Jira (HTML)

<p><img class="emoticon" src="/images/icons/emoticons/smile.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p>

Back to wiki after the round trip

🙂

Sent to Jira Cloud on .

Wiki markup (API v2)

(y)

Mark agreement. Stored as :thumbsup: with the Unicode text, and returned as the thumbs-up character.

Rendered by Jira (HTML)

<p><img class="emoticon" src="/images/icons/emoticons/thumbs_up.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p>

Back to wiki after the round trip

👍

Sent to Jira Cloud on .

Wiki markup (API v2)

(/)

Mark a done item. This one has an Atlassian id and comes back as (/).

Rendered by Jira (HTML)

<p><img class="emoticon" src="/images/icons/emoticons/check.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p>

Back to wiki after the round trip

(/)

Sent to Jira Cloud on .

Wiki markup (API v2)

(*)

A yellow star. Read back from ADF as (*y), not (*).

Rendered by Jira (HTML)

<p><img class="emoticon" src="/images/icons/emoticons/star_yellow.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p>

Back to wiki after the round trip

(*y)

Sent to Jira Cloud on .

Wiki markup (API v2)

done (/) and failed (x)

Use two codes in a sentence to show a check and a cross.

Rendered by Jira (HTML)

<p>done <img class="emoticon" src="/images/icons/emoticons/check.png" height="16" width="16" align="absmiddle" alt="" border="0"/> and failed <img class="emoticon" src="/images/icons/emoticons/error.png" height="16" width="16" align="absmiddle" alt="" border="0"/></p>

Back to wiki after the round trip

done (/) and failed (x)

Sent to Jira Cloud on .

Wiki markup (API v2)

word(y)word

An emoticon glued to a word. It is not converted.

Rendered by Jira (HTML)

<p>word(y)word</p>

Back to wiki after the round trip

word(y)word

Sent to Jira Cloud on .

What changes in conversion

  • :), :(, :P, :D, ;), (y) and (n) become emoji with Unicode ids (for example 1f44d). Read back as wiki they are the Unicode characters, so (y) becomes a thumbs-up character.
  • (i), (/), (x), (!), (+), (-), (?), (on), (off), (flag) and (flagoff) become Atlassian emoji (id atlassian-...) and return as the same wiki code.
  • (*) is stored as :yellow_star: and returns as (*y). The coloured stars (*r), (*g) and (*b) from the help were not probed.
  • A code touching letters, like word(y)word, stays as text.

Pitfalls

  • Do not put a code directly against a word; leave a space.
  • A (y) saved through the new editor is read back as a thumbs-up character, so text matching on (y) misses it.
  • A colon followed by a name, such as :smile:, is not an emoticon in wiki markup; it stays plain text.

Sources

  1. Text Formatting Notation Help (Jira, in-product help)
  2. Atlassian Document Format: document structure (Jira Cloud platform)

Markdown version · All formatting pages