Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,761
Community Members
 
Community Events
168
Community Groups

Setup 'Minor outage' to StatusPage via NewRelic integration

Hello, 

 I currently have a NewRelic alert notification to update StatusPage for a major outage.

But I'm trying to send a customized payload to update the status instead to a "Minor outage". The default payload is always a "Major Outage" https://support.atlassian.com/statuspage/docs/set-up-new-relic-alerts-parsing/.

I want to know how I should setup my custom payload in the webhook to achieve this? What should be values in Basic Auth? Is that the username/password for StatusPage?  How about the custom headers? Should the Base URL be the specific component url?

 

Thanks, 

PriyaNewRelic webhook.png

1 answer

0 votes

Hi @Priyadarshini R Kolwalkar -

Since adding a webhook is not part of setting up the New Relic integration we offer, you'll need to leverage the Statuspage API to get what you're trying to accomplish. Please take note that "Minor outage" isn't one of the component statuses.

 

You'll need to use the 'Update a Component' API for this. So the endpoint you would put in the Base Url would be something like this:

https://api.statuspage.io/v1/pages/{page_id}/components/{component_id}?api_key=XXXX. The Basic Auth part won't be needed. 

From there, you'll need to use the request sample we provide and add that to the body of the webhook. If you don't have a way of adding a request to the body of the webhook, you won't be able to send this to Statuspage to update the component. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events