dosubot[bot] commented on issue #8666: URL: https://github.com/apache/incubator-devlake/issues/8666#issuecomment-3675826715
<!-- Greeting --> Hi @joshuabezaleel! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-devlake team. <!-- Answer --> This error happens because DevLake’s Jira integration is fundamentally scoped to Boards, not Projects. The collectIssueField step (and all Jira data collection) requires a BoardId—if your Jira project doesn’t have an associated board, the pipeline fails with a 500 error when trying to insert into _raw_jira_api_issue_fields. This is a known limitation and is discussed in detail in [this thread](https://github.com/apache/incubator-devlake/discussions/6832). The only current workaround is to create a Jira Board for your project and use that board as the data scope in DevLake. This lets DevLake collect the necessary issue fields and populate the incidents table for DORA metrics. However, this approach requires manual status-to-column mapping and ongoing maintenance if your Jira configuration changes. If you’re interested in contributing a fix, supporting project-scoped collection (without requiring a board) would require significant changes to the Jira plugin’s scoping logic. There’s community interest in supporting JQL or project-based scoping, but it’s not implemented yet. Let me know if you want pointers on where to start in the codebase or have other questions! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e3c53491-d773-421e-ba1c-74bf2999e85e?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github) [](https://cursor.com/link/prompt?text=This%20error%20happens%20because%20DevLake%E2%80%99s%20Jira%20integration%20is%20fundamentally%20scoped%20to%20Boards%2C%20not%20Projects.%20The%20collectIssueField%20step%20%28and%20all%20Jira%20data%20collection%29%20requires%20a%20BoardId%E2%80%94if%20your%20Jira%20project%20doesn%E2%80%99t%20have%20an%20associated%20board%2C%20the%20pipeline%20fails%20with%20a%20500%20error%20when%20trying%20to%20insert%20into%20_raw_jira_api_issue_fields.%20This%20is%20a%20known%20limitation%20and%20is%20discussed%20in%20detail%20in%20%5Bthis%20thread%5D%28https%3A//github.com/apache/incubator-devlake/discussions/6832%29.%0A%0AThe%20only%20current%20workaround%20is%20to%20create%20a%20Jira%20Board%20for%20your%20project%20and%20use%20that%20board%20as%20the%20 data%20scope%20in%20DevLake.%20This%20lets%20DevLake%20collect%20the%20necessary%20issue%20fields%20and%20populate%20the%20incidents%20table%20for%20DORA%20metrics.%20However%2C%20this%20approach%20requires%20manual%20status-to-column%20mapping%20and%20ongoing%20maintenance%20if%20your%20Jira%20configuration%20changes.%0A%0AIf%20you%E2%80%99re%20interested%20in%20contributing%20a%20fix%2C%20supporting%20project-scoped%20collection%20%28without%20requiring%20a%20board%29%20would%20require%20significant%20changes%20to%20the%20Jira%20plugin%E2%80%99s%20scoping%20logic.%20There%E2%80%99s%20community%20interest%20in%20supporting%20JQL%20or%20project-based%20scoping%2C%20but%20it%E2%80%99s%20not%20implemented%20yet.%0A%0ALet%20me%20know%20if%20you%20want%20pointers%20on%20where%20to%20start%20in%20the%20codebase%20or%20have%20other%20questions%21) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8666) -- 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]
