Skip to content

Instantly share code, notes, and snippets.


Chris Gagne chrisgagne

View GitHub Profile
chrisgagne /
Last active Mar 14, 2020
Export descriptions and notes from PagerDuty into a CSV file.
# -*- coding: utf-8 -*-
# This script requires pygerduty:
# Given a start date and end date, this sample will export the description and
# notes from all incidents to a CSV file. The CSV file is formatted for use
# with Excel.
# This will export to incident_notes_[start date]_-_[end date].csv in the same
# directory that this script is located in.
# This would be most useful to join with a CSV file as exported from PagerDuty.
You can’t perform that action at this time.