Skip to content

jira adf render

  • Usage: jira adf render [flags]

Render a native ADF document as a Markdown projection for review — reading an existing description or comment before editing it. The projection is LOSSY by design: constructs without a Markdown spelling (mentions, panels, cards, status lozenges) degrade or disappear, and data.lossy_constructs names each one. Never convert the output back to ADF for a submit — reuse the original document instead. Pass the document itself: {"body": ...} wrappers are not unwrapped.

Input

--input <FILE>

ADF JSON input file; - reads stdin

Accepts a file.

Default: -

Examples

jira adf render --input body.json --output=json # (1)!
jira issue view PROJ-123 --output=compact | jq '.issue.fields.description' | jira adf render --input - # (2)!
  1. Review a comment body captured from comment list
  2. From stdin