atlassian_convert
Convert JIRA-Flavoured Markdown to Atlassian Document Format JSON or vice versa. Works offline with no credentials needed.
Instructions
Convert between JFM (JIRA-Flavoured Markdown) and ADF (Atlassian Document Format) JSON. Bidirectional and fully offline — performs no network I/O and needs no Atlassian credentials. Set direction to "to-adf" to convert JFM markdown into an ADF JSON document (e.g. # Title becomes {"version":1,"type":"doc","content":[...]}), or "from-adf" to render an ADF JSON document back into JFM markdown. Use it to preview or inspect the ADF a JIRA/Confluence write tool would send. Output is the converted document (JSON for to-adf, markdown for from-adf). Mirrors omni-dev atlassian convert to-adf / from-adf.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compact | No | When `direction = to-adf`, emit compact JSON instead of pretty-printed. | |
| content | Yes | The content to convert. For `to-adf` this is JFM markdown; for `from-adf` this is an ADF JSON document. | |
| direction | Yes | Direction of the conversion: `to-adf` (markdown → ADF JSON) or `from-adf` (ADF JSON → markdown). | |
| strip_local_ids | No | When `direction = from-adf`, strip `localId` attributes from output for better readability. For reading only — do NOT write stripped output back to Confluence, as `localId`s anchor inline comments and dropping them makes Confluence lose those comments. |