Create an incident report by service without Advanced Analytics


Our Advanced Analytics features allow you to create incident reports by service directly in the UI. If you do not have advanced reporting on your account, there is a script - - that can be used to generate an incident report for a specific service.

In order to use this script for a single service, you need to set the AUTH_TOKEN, BASE_URL, and service_id values on lines 9, 11, and 13 to a REST API v1 key, your PagerDuty subdomain's API endpoint URL (i.e., and a service's ID. You can obtain your service's ID by logging into your PagerDuty account, then going to Configuration > Services, clicking on a service and looking at the URL. The service ID is the 7-character string at the end of the URL.

Have more questions? Submit a request