Hey Team,
I am trying to do Prometheus Alert manager integration with Opsgenie and have defined responders as well, but mention responders are not getting any alerts instead it get redirected to Team whose Integration API key is used. For testing purposes, I tried the below API to create an alert, but from the direct API call also, it didn't work.
API Call -
Sorry for my delay. If you haven't already done so, please feel free to reach out via the in-app Chat or via a Support ticket at support.atlassian.com so we can take a look.
Essentially, your Opsgenie account would need to be on either the Standard or Enterprise plan, and an Opsgenie global Admin would need to open the integration via Settings > Integration to un-assign the Team and make sure the Responders field has the {{responders}} variable.
Then you would be able to pass the responders in via the payload like in Shubham's example above.
Hi Wei Wung, I'm facing exactly the same issue and using a team based integration.
What is the solution to get an integration which is not linked to a team so I can create alert for specific user ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Shubham Gupta,
I believe the issue you are seeing is that the apikey belongs to an integration that is owned by the Test team. A team-based integration can only create alerts for its own team. Any responder(s) passed in is ignored.
On the other hand, to create an alert for a responder user or team that you pass in via the payload, the integration will need to be global, that is, have no team assigned. This can only be done if your account is on the Standard or Enterprise, since the Essentials plan does not allow for global integrations.
Hope the above shed a little light on what you are seeing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.