# Status lozenge in Jira: ADF status node and wiki fallback

URL: https://goingstellar.ro/reference/jira-formatting/status/

A status lozenge is a small coloured label such as IN PROGRESS. It exists only in ADF, as an inline status node with a text and a colour. Wiki markup has no {status} macro that Jira Cloud renders; v2 reads the node as coloured bold text in brackets.

## Wiki markup

```
{status}...{status}
{color:#00B8D9}*[ IN PROGRESS ]*{color}
```

## Stored as ADF (REST API v3)

The ADF document Jira Cloud stores for `ADF:{"content": [{"content": [{"attrs": {"color": "blue", "text": "IN PROGRESS"}, "type": "status"}], "type": "paragraph"}], "type": "doc", "version": 1}`:

```json
{
 "type": "doc",
 "version": 1,
 "content": [
  {
   "type": "paragraph",
   "content": [
    {
     "type": "status",
     "attrs": {
      "text": "IN PROGRESS",
      "color": "blue"
     }
    }
   ]
  }
 ]
}
```

## Examples

Wiki markup (API v2):

```
{status}DONE{status}
```

Tries the macro in wiki. The text is shown as typed and no lozenge appears.

Rendered by Jira (HTML):

```html
{status}DONE{status}
```

Back to wiki after the round trip:

```
{status}DONE{status}
```

Sent to Jira Cloud on 29 Nov 2026.

ADF (API v3):

```
{"content": [{"content": [{"attrs": {"color": "blue", "text": "IN PROGRESS"}, "type": "status"}], "type": "paragraph"}], "type": "doc", "version": 1}
```

Sends a blue lozenge through v3. The v2 view is bold coloured text with spaces inside square brackets.

Rendered by Jira (HTML):

```html
<p><font color="#00B8D9"><b>[ IN PROGRESS ]</b></font></p>
```

Back to wiki after the round trip:

```
{color:#00B8D9}*[ IN PROGRESS ]*{color}
```

Sent to Jira Cloud on 29 Nov 2026.

Wiki markup (API v2):

```
{color:#ff5630}hex red{color}
```

A wiki substitute: coloured words with {color}. It survives the round trip, but it is plain coloured text and not a lozenge.

Rendered by Jira (HTML):

```html
<p><font color="#ff5630">hex red</font></p>
```

Back to wiki after the round trip:

```
{color:#ff5630}hex red{color}
```

Sent to Jira Cloud on 29 Nov 2026.

## What changes in conversion

- The status node is written to wiki as {color:#00B8D9}*[ IN PROGRESS ]*{color}. Blue became #00B8D9 in the one colour probed. Other named colours were not tested.
- Reading that wiki back into ADF would produce a bold, coloured text run, not a status node. The lozenge cannot be restored from wiki.
- Typing {status}DONE{status} as wiki stores literal text, which a later ADF consumer sees as text and not as a lozenge.

## Pitfalls

- A lozenge made through v3 and edited by a v2 client is flattened to coloured text the first time it is written back.
- The lozenge is not a Jira workflow status. It is a label inside rich text and changes nothing on the work item.
- Per the documentation, the color attribute takes a named colour or a six-digit hex value. Check the colour you send, as only blue was probed.

## Related

- [Date](https://goingstellar.ro/reference/jira-formatting/date/)
- [Macros that do not convert](https://goingstellar.ro/reference/jira-formatting/unsupported-macros/)
- [Expand (collapsible section)](https://goingstellar.ro/reference/jira-formatting/expand/)
- [REST API v2 wiki markup vs v3 ADF](https://goingstellar.ro/reference/jira-formatting/api-v2-vs-v3/)

## Sources

- [Text Formatting Notation Help (Jira, in-product help)](https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all)
- [ADF node: status (Jira Cloud platform)](https://developer.atlassian.com/cloud/jira/platform/apis/document/nodes/status/)

