dosubot[bot] commented on issue #8803: URL: https://github.com/apache/incubator-devlake/issues/8803#issuecomment-4111024299
<!-- Greeting --> Hi @brello1983! I'm [Dosu](https://go.dosu.dev/dosubot) and Iām helping the incubator-devlake team. <!-- Answer --> This appears to be a known issue around the v1.0.3-beta7 timeframe. There's a related [discussion](https://github.com/apache/incubator-devlake/discussions/8422) where UI-generated Jenkins blueprints show `"scopeConfig": null` even after configuration. **Potential root cause:** If you're using MySQL, there was a [SQL syntax error bug](https://github.com/apache/incubator-devlake/issues/8281) around v1.0.2-beta6 where DevLake used PostgreSQL-specific `cast(... as varchar)` syntax incompatible with MySQL. This could cause scope config assignments to fail silently. A [fix was submitted in PR #8306](https://github.com/apache/incubator-devlake/pull/8306). **Workaround:** You could try creating the Jenkins connection via the API instead of the UI, which reportedly avoids the null value issue. Could you confirm which database backend you're using (MySQL or PostgreSQL)? That would help narrow down whether this is the exact issue affecting you. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=brand-link).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=great_response&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=irrelevant_answer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=incorrect_sources&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=too_verbose&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/66d3f228-0d5e -402b-8772-df357d18b45e?feedback_type=hallucination&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-hallucination) | [Report š](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=bug_report&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-bug_report) | [Other](https://app.dosu.dev/response-feedback/66d3f228-0d5e-402b-8772-df357d18b45e?feedback_type=other&utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=feedback-other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=chat-badge) [](https://cursor.com/link/prompt?text=This%20appears%20to%20be%20a%20known%20issue%20around%20the%20v1.0.3-beta7%20timeframe.%20There%27s%20a%20related%20%5Bdiscussion%5D%28https%3A//github.com/apache/incubator-devlake/discussions/8422%29%20where%20UI-generated%20Jenkins%20blueprints%20show%20%60%22scopeConfig%22%3A%20null%60%20even%20after%20configuration.%0A%0A%2A%2APotential%20root%20cause%3A%2A%2A%20If%20you%27re%20using%20MySQL%2C%20there%20was%20a%20%5BSQL%20syntax%20error%20bug%5D%28https%3A//github.com/apache/incubator-devlake/issues/8281%29%20around%20v1.0.2-beta6%20where%20DevLake%20used%20PostgreSQL-specific%20%60cast%28...%20as%20varchar%29%60%20syntax%20incompatible%20with%20MySQL.%20This%20could%2 0cause%20scope%20config%20assignments%20to%20fail%20silently.%20A%20%5Bfix%20was%20submitted%20in%20PR%20%238306%5D%28https%3A//github.com/apache/incubator-devlake/pull/8306%29.%0A%0A%2A%2AWorkaround%3A%2A%2A%20You%20could%20try%20creating%20the%20Jenkins%20connection%20via%20the%20API%20instead%20of%20the%20UI%2C%20which%20reportedly%20avoids%20the%20null%20value%20issue.%0A%0ACould%20you%20confirm%20which%20database%20backend%20you%27re%20using%20%28MySQL%20or%20PostgreSQL%29%3F%20That%20would%20help%20narrow%20down%20whether%20this%20is%20the%20exact%20issue%20affecting%20you.) [](https://go.dosu.dev/discord-bot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-assistant&utm_content=join-discord) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/ap ache/incubator-devlake/issues/8803) -- 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]
