How to integrate App alerts from the developer console with Opsgenie
Asked by YY Brother:

May I know if anyone knows how to integrate App alerts from the [developer console](https://developer.atlassian.com/) with Opsgenie? What I wanna implement is:  
When my Forge App has alerts in Production environment, Opsgenie will alert the errors to App Operation team.

Here's the Forge App that needs monitoring through Opsgenie \& JSM Incident automatically:

[https://marketplace.atlassian.com/apps/1229698?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1229698?tab=overview&hosting=cloud)


Answers:
author: Darryl Lee
body: Hi [@YY Brother](/t5/user/viewprofilepage/user-id/4083879),

This is Darryl. I am here to help. ?

Understand that you would like to create the automation for generating Opsgenie alerts whenever an errors occurred in your Forge App's production environment.

In general, Opsgenie supports the following source of alert creation, see if any of them is available from your Forge App side:

[Official Documentation](https://support.atlassian.com/opsgenie/docs/alert-creation-flow/)

* **Incoming/Bi-Directional Integrations:** Any external service or application that Opsgenie is integrated with can create alerts within Opsgenie. Opsgenie processes any received data from an external service according to the configuration of the integration that the provided **API Key** belongs to, and creates alerts if required to do so. Refer to the Integrations section or [++Integrations Page++](https://www.opsgenie.com/integrations) to see the list of external services that we already integrate with.

* **Emails:** Integrate any service or software that has the capability of sending e-mails with Opsgenie. Forward these e-mails to Opsgenie after configuring an [++Email++](https://support.atlassian.com/opsgenie/docs/create-an-email-template-for-stakeholder-notifications). Opsgenie processes any received emails according to the configuration of the email integration that the e-mail address belongs to.

* **Alert API:** Create alerts via the [++Create Alert Requests++](https://support.atlassian.com/opsgenie/docs/view-global-alert-mttar-analytics) of the Alert API, after configuring an API integration within Opsgenie. Any data within the request will be processed according to the configuration of API integration that the provided API Key belongs to.

* **Heartbeat Monitoring:** [++Heartbeat Monitoring++](https://support.atlassian.com/opsgenie/docs/add-heartbeats-to-monitor-external-systems) creates alerts within Opsgenie. If Opsgenie does not receive a Send Heartbeat Request within the defined time threshold, an alert will be created according to the configuration of the Heartbeat Integration.

* **Incoming Calls:** Forward your phone calls to the number that Opsgenie provided while configuring an Incoming Call integration. When a call is received by Opsgenie, an alert is created by the Incoming Call integration that the provided call number belongs to.

* **Opsgenie Web Application:** Create alerts via the Alerts-\>Create Alert page. By default, Opsgenie uses the [++Default API Integration++](https://support.atlassian.com/opsgenie/docs/create-a-default-api-integration) while processing the data that was provided while creating an alert on the Web Application, but there is the option to select another API integration via the drop-down list (As shown in the screenshot below) to use in the process.

* **Opsgenie Android/iOS Mobile Applications:** Create alerts via the mobile apps for [++iOS++](https://support.atlassian.com/opsgenie-ios/docs/whats-in-opsgenies-ios-app/) and [++Android++](https://support.atlassian.com/opsgenie-android/docs/whats-in-opsgenies-android-app/) on the alert list via the (+) sign in the bottom right corner in both applications.

Further, if your Forge App is already integrated with your JSM, you may also incorporating the [built-in JSM integration](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-service-management-cloud/) to capture the issues being created on your JSM project, to automatically create alerts on the Opsgenie side.

*** ** * ** ***

For further assistance, please feel free to contact Opsgenie Support via [this link](https://id.atlassian.com/login?continue=https%3A%2F%2Fsupport.atlassian.com%2Fcontact).

Best regards,   
Darryl Lee  
Support Engineer, Atlassian

comments: author: YY Brother
body: Hi Darryl,

Thanks so much for you detailed reply. My Forge App has been already integrated with your JSM request. The below solution should be perfect for the scenario that customers personally requested a JSM ticket (user reporting case with **Incoming automation rules**):
> you may also incorporating the[built-in JSM integration](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-jira-service-management-cloud/)to capture the issues being created on your JSM project, to automatically create alerts on the Opsgenie side

What I also need to implement is automatical reporting through Opsgenie alerts. And then create a JSM incident to inform App Operation team to triage \& process the incident (**Outgoing automation rules**).

Could you please help talk with Develoer Console developers to see how the alerts there work and if there's any way to integrate those alerts to Opsgenie? [@Darryl Lee](/t5/user/viewprofilepage/user-id/3680306)

Best regards,

YY?


Tags: cloud