# Dynatrace and OpsGenie

**URL:** <https://community.dynatrace.com/t/dynatrace-and-opsgenie/35941>\
**Category:** Automations\
**Tags:** integrations, webhook\
**Created:** [July 21, 2022, 1:21pm UTC](https://community.dynatrace.com/t/dynatrace-and-opsgenie/35941 "2022-07-21T13:21:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![patmis](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patmis/32/23678_2.png) [@patmis](https://community.dynatrace.com/u/patmis)\
**Post date:** [July 21, 2022, 1:21pm UTC](https://community.dynatrace.com/t/dynatrace-and-opsgenie/35941/1 "2022-07-21T13:21:08Z")

</div>

Hi everybody!

According to OpsGenie, there are two ways to integrate Dynatrace

- the Dynatrace integration

- the Dynatrace webhook integration

For the first, in Dynatrace the notification type “OpsGenie” is selected. For the second one the notification type “Custom Integration” is selected.

The first one works in my environment, the one via Custom Integration does not.

I am sending the following Payload (according to the OpsGenie documentation [Integrate Opsgenie with Dynatrace Webhook (v2) | Opsgenie | Atlassian Support](https://support.atlassian.com/opsgenie/docs/integrate-opsgenie-with-dynatrace-webhook-v2/)😞

```javascript
{
    "State":"{State}",
    "ProblemID":"{ProblemID}",
    "ProblemTitle":"{ProblemTitle}",
    "ImpactedEntities":{ImpactedEntities},
    "ImpactedEntity":"{ImpactedEntity}",
    "PID":"{PID}",
    "ProblemDetailsHTML":"{ProblemDetailsHTML}",
    "ProblemDetailsJSON":{ProblemDetailsJSON},
    "ProblemDetailsMarkdown":"{ProblemDetailsMarkdown}",
    "ProblemDetailsText":"{ProblemDetailsText}",
    "ProblemImpact":"{ProblemImpact}",
    "ProblemSeverity":"{ProblemSeverity}",
    "ProblemURL":"{ProblemURL}",
    "Tags":"{Tags}"
}

```

The test is successful but now alert is generated in OpsGenie.

Any ideas?

Kind Regards.

Patrick

---

<div class="post-metadata">

**Author:** ![patmis](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/patmis/32/23678_2.png) [@patmis](https://community.dynatrace.com/u/patmis)\
**Post date:** [July 25, 2022, 5:59am UTC](https://community.dynatrace.com/t/dynatrace-and-opsgenie/35941/2 "2022-07-25T05:59:56Z")

</div>

Hi all,

I figured it out. The test alert sent by Dynatrace is for some reason not mapped to the team in OpsGenie. But real alerts are mapped to the group and can be alerted.

Consider this question as answered.

Regards,

Patrick

---

<div class="post-metadata">

**Author:** ![Karolina\_Linda](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/karolina_linda/32/36089_2.png) [@Karolina\_Linda](https://community.dynatrace.com/u/Karolina_Linda)\
**Post date:** [August 18, 2022, 10:31am UTC](https://community.dynatrace.com/t/dynatrace-and-opsgenie/35941/3 "2022-08-18T10:31:13Z")

</div>

Thanks a lot, Patrick, for coming back with an answer! Much appreciated!&nbsp;:tada:
