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

Using Jenkins for issue mitigation

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2022

Hello Team,


I am exploring the functions of Opsgenie for my team. I understand that Jenkins Integration can forward Jenkins build failure alert to Opsgenie. But I am wondering whether we can use Action Channels to communicate with Jenkins, and execute Jenkins jobs to mitigate when certain alerts fire? If yes, is there any guidance on how to set this up in Action Channels? Any help would be appreciated.

1 answer

0 votes
Darryl Lee
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 7, 2022

Hi @6628101Fy_ ,

This is Darryl. I am here to help. 😃

Understand that you would like to know if it's possible to set up an Opsgenie Action to automatically execute Jenkins jobs to mitigate the issue.

In short, there is no direct built-in Action Channel for this purpose.

However, if Jenkins supports Webhook trigger, I would suggest setting up the built-in REST Endpoint action channel or OEC action channel to achieve the goal.

Please read through this documentation regarding the general process to Set up Opsgenie actions.

REST Endpoint action channel


If Jenkins supports Webhook trigger and it can provide a Webhook endpoint URL, you may set up the REST Endpoint action channel and an Action based on it to trigger the action when certain alerts are matched.

OEC action channel



  • Jenkins isn't capable of generating a Webhook URL but still interactable with API calls.
  • Jenkins can generate a Webhook URL but the data payload sent from the REST Endpoint action channel isn't acceptable by Jenkins and requires adjustments.

You may consider setting up the OEC action channel and host an OEC service on your own endpoint as an interim handler to capture the data from Opsgenie, and use your own crafted script to parse the data and adjust it to the acceptable structure by Jenkins and send it over.

Here is the collection of the sample data payload sent from Opsgenie to the OEC host.

Hope this helps and if there is any further request, please feel free to reach out to Opsgenie Support.

Kind regards,
Darryl Lee
Support Engineer, Atlassian

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events