# status macro in Confluence storage format

URL: https://goingstellar.ro/reference/confluence-storage-format/status/

The status macro draws a small coloured lozenge with text. It takes colour, title and subtle, and has no body. ADF has a status node with a colour name and a style, so the macro converts almost without loss.

## Storage format

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Green</ac:parameter><ac:parameter ac:name="title">DONE</ac:parameter></ac:structured-macro>
<ac:parameter ac:name="subtle">true</ac:parameter>
```

## In the editor

- Select the insert button or type / and pick Status. Per the Atlassian documentation. The page also says to use an updated version of status in the Cloud editor.

## As ADF (Confluence Cloud)

The ADF that Confluence Cloud builds for:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Blue</ac:parameter><ac:parameter ac:name="title">IN PROGRESS</ac:parameter><ac:parameter ac:name="subtle">true</ac:parameter></ac:structured-macro>
```

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

## Examples

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Green</ac:parameter><ac:parameter ac:name="title">DONE</ac:parameter></ac:structured-macro>
```

Mark a task as finished. Green is drawn as the success lozenge.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh aui-lozenge-success conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">DONE</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">DONE</ac:parameter><ac:parameter ac:name="colour">Green</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Blue</ac:parameter><ac:parameter ac:name="title">IN PROGRESS</ac:parameter><ac:parameter ac:name="subtle">true</ac:parameter></ac:structured-macro>
```

Use the outline style with subtle. The lozenge gets the subtle class.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh aui-lozenge-complete aui-lozenge-subtle conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">IN PROGRESS</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">IN PROGRESS</ac:parameter><ac:parameter ac:name="colour">Blue</ac:parameter><ac:parameter ac:name="subtle">true</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Purple</ac:parameter><ac:parameter ac:name="title">NEW</ac:parameter></ac:structured-macro>
```

Use Purple, which is not on the documented list. It renders as the progress lozenge.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh aui-lozenge-progress conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">NEW</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">NEW</ac:parameter><ac:parameter ac:name="colour">Purple</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Yellow</ac:parameter><ac:parameter ac:name="title">REVIEW</ac:parameter></ac:structured-macro>
```

Use Yellow for work that needs attention.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh aui-lozenge-current conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">REVIEW</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">REVIEW</ac:parameter><ac:parameter ac:name="colour">Yellow</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="title">GREY DEFAULT</ac:parameter></ac:structured-macro>
```

Leave the colour out. The lozenge is grey.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">GREY DEFAULT</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">GREY DEFAULT</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

```xml
<ac:structured-macro ac:name="status"><ac:parameter ac:name="colour">Orange</ac:parameter><ac:parameter ac:name="title">BAD COLOUR</ac:parameter></ac:structured-macro>
```

Use a colour name that does not exist. Orange is accepted and drawn grey, and it is dropped on conversion.

Rendered view (HTML):

```html
<span class="status-macro aui-lozenge aui-lozenge-visual-refresh conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">BAD COLOUR</span>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">BAD COLOUR</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

Storage format sent:

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

Save an ADF status node to storage. The macro is wrapped in a paragraph and the style is not written when it is the default.

Rendered view (HTML):

```html
<p><span class="status-macro aui-lozenge aui-lozenge-visual-refresh aui-lozenge-complete conf-macro output-inline" data-hasbody="false" data-macro-id="<id>" data-macro-name="status">IN PROGRESS</span></p>
```

Storage format after the round trip through ADF:

```xml
<p><ac:structured-macro ac:name="status" ac:schema-version="1" ac:macro-id="<id>"><ac:parameter ac:name="title">IN PROGRESS</ac:parameter><ac:parameter ac:name="colour">Blue</ac:parameter></ac:structured-macro></p>
```

Sent to Confluence Cloud on 29 Nov 2026.

## What changes in conversion

- colour, title and subtle are all kept. subtle becomes the ADF style subtle, and an absent subtle is style bold.
- Colour names map to lower-case ADF names (Green to green, Red to red, Yellow to yellow, Purple to purple) and return capitalised.
- An unknown colour is stored as typed but becomes neutral in ADF. It returns with no colour parameter at all.
- Because the lozenge is inline, it comes back wrapped in a paragraph.
- Parameter order changes, with title written before colour.

## Pitfalls

- The documentation lists Grey, Red, Yellow, Green and Blue. A name outside that list, like Orange, is silently shown grey.
- Status has no body, so close the macro with no ac:rich-text-body.
- The title is a parameter, so text style cannot be applied inside the lozenge.

## Questions and answers

### Which colours does the documentation list?

Grey, Red, Yellow, Green and Blue, with Grey as the default.

### What if no title is set?

The documentation says the title becomes the colour name. This was not tested.

## Related

- [info, note, tip and warning macros](https://goingstellar.ro/reference/confluence-storage-format/info-note-tip-warning/)
- [panel macro](https://goingstellar.ro/reference/confluence-storage-format/panel-macro/)
- [toc and toc-zone macros](https://goingstellar.ro/reference/confluence-storage-format/table-of-contents/)
- [anchor macro](https://goingstellar.ro/reference/confluence-storage-format/anchor-macro/)

## Sources

- [Insert the status macro (Atlassian Support)](https://support.atlassian.com/confluence-cloud/docs/insert-the-status-macro/)
- [Atlassian Document Format: document structure (Atlassian Developer)](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/)

