Skip to content

fix(linear): pass stateId when creating checklist sub-issues#1139

Merged
zbigniewsobiecki merged 1 commit intodevfrom
fix/linear-checklist-stateId
Apr 17, 2026
Merged

fix(linear): pass stateId when creating checklist sub-issues#1139
zbigniewsobiecki merged 1 commit intodevfrom
fix/linear-checklist-stateId

Conversation

@zbigniewsobiecki
Copy link
Copy Markdown
Member

Summary

This was the third and final bug in the Linear issue creation pipeline:

  1. PR fix(linear): create issues directly in backlog state via stateId #1137createWorkItem() missing stateId + wrong backlogListId in prompt context
  2. PR fix(linear): preserve projectId through config mapper #1138configMapper dropping projectId
  3. This PRaddChecklistItem() missing stateId

Test plan

  • New test: passes stateId for backlog on sub-issue creation
  • Full suite: 7864 tests pass
  • Typecheck + lint clean

🤖 Generated with Claude Code

addChecklistItem() created sub-issues via linearClient.createIssue()
without stateId, so they landed in the team's default state ("Ideas")
instead of "Backlog". Same bug as createWorkItem() (fixed in #1137),
different code path.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@zbigniewsobiecki zbigniewsobiecki merged commit a4b9a25 into dev Apr 17, 2026
9 checks passed
@zbigniewsobiecki zbigniewsobiecki deleted the fix/linear-checklist-stateId branch April 17, 2026 19:12
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