Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

ServiceNow-OpsGenie Integration

Mritunjay Pathak April 24, 2023

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?


2 answers

1 accepted

0 votes
Answer accepted
Shivam Naik
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2023

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:

Pasted_Image_4_26_23__4_20_PM.jpg

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!

Mritunjay Pathak April 26, 2023

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?

OpsGenie sample.jpg

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. 

ServiceNow sample.jpg

0 votes
Shivam Naik
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 28, 2023

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events