getsentry / getsentry/sentry

OpsGenie Integration - alerts are not being acknowledged

Open
#74,230 5 comments 0 reactions 0 assignees View on GitHub
Feature Product Area: Settings - Integrations
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS (https://sentry.io/)

### Steps to Reproduce

1. Trigger an issue with OpsGenie integration enabled
2. See the alert created on OpsGenie with the Alias being `"sentry: {ISSUE_ID}"`
3. Resolve the issue on Sentry

----

It might be because you seem to be using two different aliases in your integration:
1. `sentry: {ISSUE_ID}`, see [/src/sentry/integrations/opsgenie/client.py](https://github.com/getsentry/sentry/blob/4af7bd123d08eea9e1961c87b860551faeca9be5/src/sentry/integrations/opsgenie/client.py#L73)
2. `incident_{ORGANISATION_ID}_{ISSUE_ID}`, see [/src/sentry/integrations/opsgenie/utils.py](https://github.com/getsentry/sentry/blob/4af7bd123d08eea9e1961c87b860551faeca9be5/src/sentry/integrations/opsgenie/utils.py#L29)

### Expected Result

1. The alert should be acknowledged on OpsGenie

### Actual Result

1. The alert is not acknowledged on OpsGenie.

### Product Area

Settings - Integrations

### Link

- issue [#74256](https://github.com/getsentry/sentry/issues/74256)
- issue [#62261](https://github.com/getsentry/sentry/issues/62261)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.