dosubot[bot] commented on issue #7772: URL: https://github.com/apache/incubator-devlake/issues/7772#issuecomment-2242860238
<!-- Greeting --> @hayk96 Hello! I'm here to help you with any issues you have. Let's work together to solve the problem you're facing. <!-- Answer --> The issue of DevLake not collecting PagerDuty incidents, resulting in an empty `issues` table despite successful pipeline runs, is likely due to the API query parameters not being set correctly. Specifically, the `service_ids[]` parameter in the query is set to `data.Options.ServiceId`. If `data.Options.ServiceId` is not correctly configured or is empty, the API call will not return any incidents. Ensure that `data.Options.ServiceId` is correctly set to the appropriate service ID for which you want to collect incidents. Additionally, make sure that you have defined `incidents` in the data transformations while configuring the blueprint of a project, as mentioned in the DevLake documentation. Moreover, ensure that the `ExtractIncidents` function in the `incidents_extractor.go` file is correctly implemented and executed. The function should properly extract incidents from the raw data and populate the `issues` table <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/pagerduty/tasks/incidents_collector.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/pagerduty/tasks/incidents_extractor.go)</sup>. For further troubleshooting, you can download the logs from the pipeline for more insight into why the incidents are not being collected. Capturing a screenshot of the error message associated with the failed task can also help in diagnosing the issue <sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/Configuration/Tutorial.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.20/Configuration/Tutorial.md)</sup><sup>[[5]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Troubleshooting/Configuration.md)</sup><sup>[[6]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/Troubleshooting/Configuration.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@devlake.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org