Skip to content

Preserve Jira ADF issue descriptions#110

Merged
eshulman2 merged 1 commit into
forge-sdlc:mainfrom
eshulman2:fix-jira-adf-description-extraction
Jun 29, 2026
Merged

Preserve Jira ADF issue descriptions#110
eshulman2 merged 1 commit into
forge-sdlc:mainfrom
eshulman2:fix-jira-adf-description-extraction

Conversation

@eshulman2

@eshulman2 eshulman2 commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • expand JiraIssue ADF text extraction to preserve headings, lists, code blocks, hard breaks, and rules
  • keep the extractor local with a guardrail comment instead of adding an under-supported ADF converter dependency
  • preserve raw ADF node representation when an unsupported node cannot be parsed, so workflow prompts do not silently lose issue content
  • add regression tests covering Epic plan content round-tripped through Markdown -> ADF -> JiraIssue.description and unknown ADF fallback behavior

Verification

  • proved the old extractor returns an empty string for the real AISOS-1981 raw Jira ADF payload because its top-level description node is bulletList
  • verified the fixed JiraClient.get_issue('AISOS-1981') path renders non-empty ORIGINAL CONTENT in the Epic revision prompt
  • uv run pytest tests/unit/integrations/jira/test_client.py
  • uv run ruff check src/forge/integrations/jira/models.py tests/unit/integrations/jira/test_client.py
  • uv run pytest tests/unit/integrations/jira tests/unit/workflow/nodes/test_epic_decomposition.py tests/unit/workflow/nodes/test_task_generation.py tests/unit/workflow/nodes/test_trace_context_enrichment.py tests/unit/orchestrator/nodes/test_generate_prd.py tests/unit/api/routes/test_jira_webhook.py

@eshulman2 eshulman2 force-pushed the fix-jira-adf-description-extraction branch from 360982b to e571fcc Compare June 29, 2026 15:07
@eshulman2 eshulman2 merged commit 271b769 into forge-sdlc:main Jun 29, 2026
2 checks passed
@eshulman2 eshulman2 deleted the fix-jira-adf-description-extraction branch June 29, 2026 15:10
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