feat: servicenow incident activity sync#5556
Open
zekebawt wants to merge 2 commits intokeephq:mainfrom
Open
Conversation
- Add _get_incident_activities() to fetch work notes and comments - Add _add_incident_activity() to push activities to ServiceNow - Add sync_incident_activities() for bidirectional sync - Implements keephq#3379
|
@zekebawt is attempting to deploy a commit to the KeepHQ Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
|
Target branch is not in the allowed branches list. |
Author
|
ServiceNow activity sync PR is ready! Implements incident work notes/comments sync as requested in #3379. Features:
Ready for review! 🚀 |
- Extend ServiceNow provider to support BaseIncidentProvider - Add _get_incidents() and _format_incident() methods for incident sync - Add _get_auth_and_headers() helper for cleaner API requests - Implement bidirectional activity sync between ServiceNow and Keep - Add PROVIDER_METHODS for workflow integration - Map ServiceNow states/severity to Keep incident status/severity Closes keephq#3379
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds incident activity synchronization capabilities to the ServiceNow provider.
Closes #3379
Changes
_get_incident_activities(): Fetches work notes and comments from ServiceNow incidents via thesys_journal_fieldtable_add_incident_activity(): Pushes activities (work notes/comments) to ServiceNow incidentssync_incident_activities(): Bidirectional sync between ServiceNow and KeepUsage
Testing
/claim #3379