dosubot[bot] commented on issue #8059: URL: https://github.com/apache/incubator-devlake/issues/8059#issuecomment-2356270430
<!-- Greeting --> Hello @vincentpatella! 👋 I'm here to help you with any bugs, questions, or contributions you have for the project. Let's tackle this together! <!-- Answer --> I found a similar closed issue: [[Bug][DORA] Webhook incidents do not appear](https://github.com/apache/incubator-devlake/issues/5886), which was resolved by a pull request: [fix: add webhook boards in project_mapping table](https://github.com/apache/incubator-devlake/pull/5898) on August 16, 2023 <sup>[[1]](https://github.com/apache/incubator-devlake/issues/5886)</sup>. The deployment created via webhook is not appearing in the DORA metrics dashboard because it is likely not associated with a DevLake project. To resolve this, follow these steps: 1. Go to the __Projects__ page in DevLake. 2. Create or select the relevant project. 3. Add the existing webhook to this project. 4. Ensure that the data collection is started by clicking `Collect All` in the __blueprint status__ tab. This association is necessary for the deployment data to be included in the DORA metrics dashboard. Additionally, ensure that the webhook configuration is correctly set up to push deployment data to DevLake, as described in the documentation. This includes verifying that the webhook payload schema matches the expected format and that the data is being correctly recorded in the `cicd_deployments` and `cicd_deployment_commits` tables <sup>[[2]](https://github.com/apache/incubator-devlake-website/blob/main/docs/DORA.md)</sup>. For more detailed guidance on setting up and troubleshooting DORA metrics, you can refer to the [DORA implementation guide](https://grafana-lake.demo.devlake.io/grafana/d/qNo8_0M4z/dora?orgId=1) and the [DORA troubleshooting documentation](https://github.com/apache/incubator-devlake/issues). Additionally, you can review the [DORA metrics documentation](https://incubator-devlake-website/versioned_docs/version-v1.0/DORA.md) for comprehensive information on implementing and configuring DORA metrics in DevLake <sup>[[3]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.21/DORA.md)</sup><sup>[[4]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v0.20/DORA.md)</sup><sup>[[5]](https://github.com/apache/incubator-devlake-website/blob/main/versioned_docs/version-v1.0/DORA.md)</sup>. Furthermore, if you are using webhooks to push deployment data, ensure that the payload schema is correctly formatted. The required fields for deployment data include `id`, `startedDate`, `finishedDate`, and `deploymentCommits` with their respective `repoUrl`, `commitSha`, `startedDate`, and `finishedDate`. For more details on the payload schema and sample API calls, refer to the [Webhook Plugin documentation](https://incubator-devlake-website/docs/Plugins/webhook) <sup>[[6]](https://github.com/apache/incubator-devlake-website/blob/main/docs/Plugins/webhook.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