feat: Add ServiceNow integration#3113
Open
ConeDjordjic wants to merge 1 commit intosuperplanehq:mainfrom
Open
Conversation
a3e11f7 to
0bd93db
Compare
web_src/src/pages/workflowv2/mappers/servicenow/on_incident.tsx
Outdated
Show resolved
Hide resolved
web_src/src/pages/workflowv2/mappers/servicenow/on_incident.tsx
Outdated
Show resolved
Hide resolved
7de6912 to
80180ee
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.
Signed-off-by: ConeDjordjic <turbo.topcone@gmail.com>
80180ee to
a80027a
Compare
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.
Implements #3006
Summary
Adds the ServiceNow integration with:
Supports Basic Auth and OAuth. Categories, subcategories,
assignment groups, and users are loaded from the ServiceNow API. Selecting a
group filters the user list. Selecting a category filters the subcategory list.
The On Incident trigger requires a one-time Business Rule setup in ServiceNow.
The setup instructions and a ready-to-use script are shown in the trigger
configuration panel.
Note: Automatically creating Business Rules via the ServiceNow API is
possible but requires the admin role on the integration account. The
current implementation uses a manual setup approach to avoid requiring
elevated permissions.
Video Demo
https://www.youtube.com/watch?v=dJuxYJPXyUs
Implementation
Backend (
pkg/integrations/servicenow/)servicenow.go— integration config and authon_incident.go— webhook trigger with secret verificationcreate_incident.go— create incident actionclient.go— ServiceNow Table API clientlist_resources.go— loads categories, subcategories, groups, and usersFrontend (
web_src/src/pages/workflowv2/mappers/servicenow/)