Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@whitdog47
Copy link
Contributor

This pull request introduces a new feature that allows the /dispatch-engage-oncall command to be used within dedicated case channels in Slack. This enhancement is designed to streamline the process of engaging on-call services directly from case channels, improving response times and coordination during case management.

Key Changes

  • Case Engage Oncall Flow: Added a new function case_engage_oncall_flow in src/dispatch/case/flows.py to handle the engagement of on-call services for cases. This function includes logic to page the on-call service if specified.
  • PagerDuty Plugin: Updated the page function in src/dispatch/plugins/dispatch_pagerduty/plugin.py and src/dispatch/plugins/dispatch_pagerduty/service.py to support the new event type "case" for paging.
  • Slack Integration: Modified handle_engage_oncall_command and handle_engage_oncall_submission_event in src/dispatch/plugins/dispatch_slack/incident/interactive.py to support the new case flow. The command is now available for cases with dedicated channels.
  • Code Refactoring: Adjusted existing logic to accommodate the new feature, ensuring seamless integration with current incident management workflows.

@whitdog47 whitdog47 added the enhancement New feature or request label Feb 17, 2025
@whitdog47 whitdog47 self-assigned this Feb 17, 2025
@whitdog47 whitdog47 merged commit 5e850da into main Feb 25, 2025
9 checks passed
@whitdog47 whitdog47 deleted the enhancement/allow-page-in-cases branch February 25, 2025 00:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants