Chris Gagné

Delight customers. Create value. Do good.

Export Incident Descriptions and Notes from PagerDuty

Here’s a quick Python Script that connects to PagerDuty’s API and pulls down the incident ID, description, and notes for all incidents in a given date range. It’s useful for appending to an existing CSV download via VLOOKUP, particularly PagerDuty’s new Advanced CSV Export.

I hope this is useful to you!

2 Comments

  1. Helpful and nice.
    PS: You should never use data object types as variable name, in this case: “str” .
    Goes crazy while throwing errors, or worse, throws errors.

  2. Chris Gagne

    February 29, 2016 at 9:58 pm

    Thanks for teaching me! 🙂

Leave a Reply

Your email address will not be published.

*

© 2017 Chris Gagné

Theme by Anders NorenUp ↑