Skip to content

feat(jira): add description support for subtasks created via AddChecklist#472

Merged
zbigniewsobiecki merged 1 commit intodevfrom
feat/jira-subtask-descriptions
Feb 22, 2026
Merged

feat(jira): add description support for subtasks created via AddChecklist#472
zbigniewsobiecki merged 1 commit intodevfrom
feat/jira-subtask-descriptions

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

  • Thread an optional description field through the AddChecklist gadget → PMProvider.addChecklistItem() → JIRA adapter, so planning agent step details (files to modify, specific changes, testing notes) are set directly on JIRA subtasks
  • The items schema is backward-compatible: accepts string | { name: string; description?: string }, so existing string items continue to work
  • Trello adapter accepts and ignores the description (checklist items don't support it)
  • Planning prompt updated with conditional JIRA guidance to use the object form

Files changed

File Change
src/gadgets/pm/AddChecklist.ts Schema union: string | {name, description?}, updated example
src/gadgets/pm/core/addChecklist.ts ChecklistItemInput type, normalize items, pass description
src/pm/types.ts Optional description param on addChecklistItem
src/pm/jira/adapter.ts Convert description to ADF, spread into createIssue
src/pm/trello/adapter.ts Accept and ignore _description
src/agents/prompts/templates/planning.eta Conditional JIRA guidance for item descriptions
tests/unit/gadgets/pm/core/addChecklist.test.ts Tests for string, object, and mixed items
tests/unit/pm/jira/adapter.test.ts Tests for description ADF passthrough and omission

Test plan

  • npm run typecheck — clean
  • npm run lint — clean (0 errors, only pre-existing complexity warnings in router)
  • npm test — 2506/2506 tests pass
  • CI passes
  • Trigger planning run on JIRA project → verify subtasks have descriptions

🤖 Generated with Claude Code

…Checklist

The planning agent writes detailed step descriptions (files to modify, specific
changes, testing strategy) in the card body, but this context was lost when
creating bare JIRA subtasks with only a summary. This threads an optional
description through the AddChecklist gadget → PMProvider.addChecklistItem() →
JIRA adapter, where it is converted to ADF and set on the subtask. Trello
checklist items don't support descriptions, so the Trello adapter ignores the
field. The schema change is backward-compatible: items accept string | {name,
description?}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@zbigniewsobiecki zbigniewsobiecki merged commit 561c232 into dev Feb 22, 2026
5 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the feat/jira-subtask-descriptions branch February 22, 2026 11:32
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