Skip to content

feat(rootly): add Get Incident action component#3101

Open
nenadilic84 wants to merge 1 commit intosuperplanehq:mainfrom
nenadilic84:feat/rootly-get-incident
Open

feat(rootly): add Get Incident action component#3101
nenadilic84 wants to merge 1 commit intosuperplanehq:mainfrom
nenadilic84:feat/rootly-get-incident

Conversation

@nenadilic84
Copy link

Summary

Implements the Get Incident component for the Rootly integration, which retrieves a single incident by ID.

Closes #2536

What was added

New files:

  • pkg/integrations/rootly/get_incident.go - Component implementation following the same pattern as UpdateIncident and CreateIncident
  • pkg/integrations/rootly/get_incident_test.go - Unit tests for Setup() and Execute() methods
  • pkg/integrations/rootly/example_output_get_incident.json - Example output JSON for the component
  • web_src/src/pages/workflowv2/mappers/rootly/get_incident.ts - Frontend mapper for rendering incident details in the workflow UI

Modified files:

  • pkg/integrations/rootly/rootly.go - Registered &GetIncident{} in Components()
  • pkg/integrations/rootly/example.go - Added embedded JSON, sync.Once, and ExampleOutput() for GetIncident
  • web_src/src/pages/workflowv2/mappers/rootly/index.ts - Added getIncident mapper and event state registry entry

Component details

  • Name: rootly.getIncident
  • Configuration: Single required incidentId field (string)
  • Output: Emits on the default output channel with type rootly.incident containing the full incident object
  • Uses the existing client.GetIncident() method from client.go

Test plan

  • Unit tests pass for Setup() with valid/invalid configurations
  • Unit tests pass for Execute() with successful API response
  • Unit tests pass for Execute() with API error response
  • Component appears in Rootly integration component list
  • Frontend mapper correctly renders incident details

🤖 Generated with Claude Code

@nenadilic84 nenadilic84 mentioned this pull request Feb 13, 2026
5 tasks
@nenadilic84 nenadilic84 force-pushed the feat/rootly-get-incident branch from c5186af to df54ff4 Compare February 13, 2026 11:57
@cursor
Copy link

cursor bot commented Feb 13, 2026

You have run out of free Bugbot PR reviews for this billing cycle. This will reset on March 12.

To receive reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@nenadilic84 nenadilic84 force-pushed the feat/rootly-get-incident branch from df54ff4 to 2c7b175 Compare February 13, 2026 12:15
@nenadilic84
Copy link
Author

Demo video coming shortly — recording the integration setup and retrieving an incident from Rootly.

Add a new Rootly component that retrieves a single incident by ID.
This enables workflows to fetch incident details for enrichment,
status checks, and downstream processing.

Signed-off-by: Nenad Ilic <nenadilic84@gmail.com>
@nenadilic84 nenadilic84 force-pushed the feat/rootly-get-incident branch from 2c7b175 to fd80b30 Compare February 13, 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.

[Rootly] Get Incident

1 participant