Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat(api): Detect and convert wiki markup in descriptions#63

Merged
piekstra merged 3 commits intomainfrom
piekstra/61-wiki-markup-conversion
Jan 30, 2026
Merged

feat(api): Detect and convert wiki markup in descriptions#63
piekstra merged 3 commits intomainfrom
piekstra/61-wiki-markup-conversion

Conversation

@piekstra
Copy link
Copy Markdown
Collaborator

[#61]

Adds automatic detection and conversion of Jira wiki markup to markdown before ADF conversion. This allows users to paste wiki-formatted text (from Jira Server/Data Center or copied from documentation) and have it properly rendered in Jira Cloud.

Supported wiki markup patterns:

  • Headings: h1. through h6.
  • Code blocks: {code}...{code} and {code:lang}...{code}
  • Monospace: {{text}}
  • Links: [text|url]
  • Images: !image.png! and !image.png|alt=text!
  • Blockquotes: bq. and {quote}...{quote}
  • Bullet lists: * item, ** nested
  • Noformat: {noformat}...{noformat}
  • Horizontal rules: ----

How it works:

  1. IsWikiMarkup() detects common wiki patterns
  2. If detected, WikiToMarkdown() converts to markdown
  3. Then existing MarkdownToADF() handles markdown→ADF conversion

Fixes #61

Test plan

  • Unit tests for wiki markup detection
  • Unit tests for wiki-to-markdown conversion
  • Integration tests verifying wiki→ADF pipeline
  • Tests ensuring markdown input passes through unchanged
  • All existing tests pass

[#61] Auto-detect and convert Jira wiki markup to markdown before
ADF conversion. Supports headings (h1.-h6.), code blocks, monospace,
links, images, blockquotes, bullet lists, and more.
@piekstra piekstra merged commit 18d0f4b into main Jan 30, 2026
2 checks passed
@piekstra piekstra deleted the piekstra/61-wiki-markup-conversion branch January 30, 2026 02:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect and convert Jira wiki markup in descriptions

1 participant