Skip to content

Conversation

@rbolkey
Copy link

@rbolkey rbolkey commented Jan 16, 2026

Summary

  • Fix crash when reading issues with system-generated comments (e.g., Jira sync) that have user: null
  • Apply the same null-checking pattern used for other nullable relationships (assignee, project, cycle)
  • Add unit tests for comment user handling

Test plan

  • Run npm test - all tests pass
  • Run npm run build - compiles successfully
  • Test manually with node dist/main.js issues read BRK-246 - returns JSON without crashing

Resolves #6

🤖 Generated with Claude Code

System-generated comments (e.g., Jira sync notifications) have user: null
in the Linear API response. Apply the same null-checking pattern used for
other nullable relationships (assignee, project, cycle).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

Cannot read properties of null (reading 'id')

1 participant