Skip to content

fix(MORG-32): show Jira ticket description in ticket output - #24

Merged
developerdavi merged 1 commit into
mainfrom
MORG-32
Mar 6, 2026
Merged

developerdavi merged 1 commit into
mainfrom
MORG-32

Conversation

@developerdavi

Copy link
Copy Markdown
Owner

Summary

  • Added adfToText() helper that recursively converts Atlassian Document Format (ADF) JSON to readable plain text, handling paragraphs, headings, lists, code blocks, and hard breaks
  • JiraClient.getTicket() now populates Ticket.description from the issue's ADF description field
  • The existing renderTicketDetail() in tickets.ts already renders ticket.description — so it just works for Jira projects once the field is populated

Test plan

  • pnpm typecheck ✓
  • pnpm test ✓ (16 tests passing)
  • morg ticket <JIRA-ID> --plain now shows the ticket description when the project is Jira-integrated

Closes MORG-32

Add adfToText() to convert Atlassian Document Format to plain text.
Populate Ticket.description from the Jira issue's description field
in getTicket(), so it renders in the ticket detail panel alongside
all other ticket integrations.
@developerdavi
developerdavi merged commit cc958fb into main Mar 6, 2026
1 check passed
@developerdavi
developerdavi deleted the MORG-32 branch March 6, 2026 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant