feat: Add rootly.onEvent component#3042
Conversation
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
|
@AleksandarCole Video demo added, ready for review |
|
@AleksandarCole soft ping on this for review |
|
@devroy10 thanks for trying this one. The component does not seem to be working. Please check the attached video: Kapture.2026-02-12.at.10.41.41.mp4Additionally, the event kind and event source settings do not make sense and seem unnecessary. |
I'll investigate why |
- also removes unnecessary event kinfd and sourcesfrom configuration options Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
b35633b to
9cc1fdd
Compare
Signed-off-by: devroy10 <roychinwuba@gmail.com>
Rootly status slugs are inconsistent with the incident_status resource list, particularly the return for staus type In triage. Rootly `/stauses` endpoint returns `in-triage` meanwhile payloads return `in_triage`. so onEvent now uses a fixed multi-select list and removes incident_status from list_resources to avoid mismatches. Signed-off-by: devroy10 <roychinwuba@gmail.com>
Signed-off-by: devroy10 <roychinwuba@gmail.com>
9d1ecc1 to
ed38ac1
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| } | ||
|
|
||
| return content || timeAgo; | ||
| } |
There was a problem hiding this comment.
Duplicated buildSubtitle helper across trigger renderers
Low Severity
The buildSubtitle function in on_event.ts is an exact copy of the one in on_incident.ts. A shared, nearly identical version already exists as an exported function in mappers/utils.ts (which accepts string | undefined and trims). This new file adds another copy instead of reusing the existing utility.


Description
Closes #2820
This PR implements the Rootly On Event trigger so SuperPlane workflows can start on Rootly incident timeline events. It sets up a managed webhook, supports filtering by incident and event attributes, and renders event context clearly in the UI.
Video Demo
rootly-on-event.mp4
Backend Implementation
rootly.onEventtrigger with webhook setup and signature verification.rootly.onEventwith incident + event context.Frontend Implementation
Documentation
Checklist