dosubot[bot] commented on issue #8237: URL: https://github.com/apache/incubator-devlake/issues/8237#issuecomment-2532136340
<!-- Answer --> The `ScopeId` in the `BlueprintScope` struct is indeed defined as a `string`, which is causing issues when compared with `bigint` fields like `board_id` in the Jira plugin's table. Unfortunately, there is no specific documentation or comments in the codebase explaining why `ScopeId` was initially defined as a string, nor is there information on other plugins or modules that might rely on `ScopeId` being a string <sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/core/models/blueprint.go)</sup>. Changing `ScopeId` to `uint64` could potentially resolve the type mismatch issue you're encountering. However, it's important to consider the implications of such a change across the codebase. This change might affect other parts of the system that interact with `ScopeId`, so thorough testing would be necessary to ensure compatibility and functionality are maintained. If you decide to proceed with changing the data type, ensure that all related database fields and queries are updated accordingly to prevent further type mismatch errors. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=hallucination) | [Other](https://app.dosu.dev/response-feedback/acc04ff6-806c-4d0d-b07f-1ff1f50fd5ed?feedback_type=other)</sup> -- 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