Hi All,
If we acknowledge the alert in OpsGenie, a work note is added in ServiceNow Incident. (this setting is available).
My Question is:
Is it possible to change the ServiceNow Incident state from New to In-Progress if the alert is acknowledge in OpsGenie? Any Settings available in Integration or any custom setting is there?
Hi @Mritunjay Pathak ,
Happy to help!
The options for the Acknowledge Action in Opsgenie include adding the note and sending the payload to a Custom Endpoint:
The latter option for a Custom Endpoint on the ServiceNow side to change that status when the Acknowledge payload comes through would be the best option here. Opsgenie does not currently have a built-in way to have that payload change a ServiceNow Incident to In-Progress.
Please let me know if you have any follow up questions!
Hi @Shivam Naik
Thanks for the reply.
Just want to confirm, if we select send to custom endpoint then in the third box should we need to fill sample?
If yes, then in sample in ServiceNow should we need to make any script change? Please guide me as I am new to this and don't have enough knowledge.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mritunjay Pathak ,
We don't have specific examples to provide, but I found this documentation on their site https://docs.servicenow.com/bundle/rome-application-development/page/integrate/custom-web-services/concept/c_CustomWebServices.html going over how to create those. Essentially you're creating a Custom API Script to trigger for specific Opsgenie actions. It doesn't necessarily have to be the Sample script, but you would need to create a script with an endpoint for changing the status of the Service Now Incident into In Progress when triggered by the Opsgenie Acknowledgement.
The Sample script itself makes an HTTP request to our Alert API and get the alert data from our Alert API and log it to the application logs as an example for this "sample" Scripted REST API Resource. You could edit it perform the Incident Status change in relation to the Opsgenie Acknowledgement, but it would be better to create a new script specific to that Acknowledge action to reference in the Integration.
Please let us know if you have any follow up questions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.