Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can I automate component/incident rule creation for my pagerduty services via the Statuspage API?

My company is investigating whether we can use Atlassian Statuspage for our internal microservices. Our plan is to set up a private status page with a component for each microservice, and automate the component statuses via the Pagerduty integration.

Our set of microservices is constantly evolving; we regularly create new ones and decommission old ones. We'd like to automate this by using the Statuspage API to keep our set of components up to date. To complete our system we'd need to also keep our Pagerduty component rules up to date.

To illustrate, when we create a new microservice we'd like to automatically create

- a Pagerduty service

- a Statuspage component

- three incident templates - for incident creation, update, and resolution.

- a component rule to mark an outage on the microservice's component when there's a Pagerduty incident in its Pagerduty service

- Incident rules using the three incident templates

However I don't see any way to automatically manage component or incident rules for the Pagerduty Integration. I'm looking in the API docs here https://developer.statuspage.io/.

Can Statuspage support this level of automation?

1 answer

0 votes
Travers Atlassian Team Oct 18, 2021

Hi Joey,

Happy to answer your questions on Component automation for Statuspage using PagerDuty!

First, I would take a look at our documentation on configuring the PagerDuty integration. This will allow you to setup Component rules for PagerDuty Incidents to automate resource outages.

Second, I would use the following documentation to create the appropriate Statuspage Incident templates  .

Last, you may use our documentation on supported PagerDuty mustache tags to automate the use of Incident templates.

I hope this information was helpful!

Hi Travers, this does not answer my question. I've read all that documentation and the steps you describe are all manual configuration (i.e. a human needs to click things in a web browser). I'm specifically calling out missing functionality from the Statuspage API (https://developer.statuspage.io/): I need to be able to automatically (via an API) configure the component rules and incident rules for my statuspage-pagerduty integration.

Hi Joey,

Thank you for the clarification! Currently, Statuspage API does not have the desired functionality.

However, there is an exiting feature request for the ability to manage Pagerduty service rules via the Statuspage API. I have added this Community post as a support case in the request.

Should the feature request be added to the Statuspage development roadmap, Support will reach out with more details.

I hope this information was helpful!

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

2,453 views 6 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you