abeizn opened a new issue, #4574: URL: https://github.com/apache/incubator-devlake/issues/4574
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened POST to register an incident, the board id is: webhook:connectionID:boardKey  but the project mapping row id is: webhook:connectionID  so, When the project and board are associated, there will be a mismatch. ``` select * from issues i join board_issues bi on i.id = bi.issue_id join boards b on bi.board_id = b.id join project_mapping pm on **b.id = pm.row_id** where pm.project_name in ('sonarqube') ``` ### What do you expect to happen so, When the project and board are associated correctly. ### How to reproduce post a issue by webhook ### Anything else _No response_ ### Version main ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
