We want to add webhook support for Linear in tern. Linear sends events for issues, projects, comments, and more.
Tasks
Webhook Handler
- Implement
/src/platforms/linear.ts.
- Normalize payloads into tern’s event format.
Platform Config
- Add
platformConfigs.linear with supported events (e.g., issue/create, issue/update, comment/create).
Test Cases
- Add JSON fixtures for 3+ events (issue created, issue updated, comment created).
- Write Jest tests in
/tests/linear.test.ts.
Docs
Acceptance Criteria
- Linear handler implemented
- Manual webhook verification supported
- Tests with 3+ event types
- Docs updated
Helpful Links: Linear Webhooks Docs
We want to add webhook support for Linear in tern. Linear sends events for issues, projects, comments, and more.
Tasks
Webhook Handler
/src/platforms/linear.ts.Platform Config
platformConfigs.linearwith supported events (e.g.,issue/create,issue/update,comment/create).Test Cases
/tests/linear.test.ts.Docs
/docs/platforms.mdwith setup steps.Acceptance Criteria
Helpful Links: Linear Webhooks Docs