GitHub user dosubot[bot] added a comment to the discussion: Enable fullSync mode on Jira board collection
<!-- Answer --> To enable fullSync mode for Jira board collection in DevLake and resolve the "filter jql has changed, please use fullSync mode" error, set the environment variable `JIRA_JQL_AUTO_FULL_REFRESH=true`. This allows DevLake to automatically switch to fullSync mode when the JQL filter changes, triggering a complete data sync instead of incremental updates [reference](https://github.com/apache/incubator-devlake/blob/main/devops/releases/lake-v1.0.1/env.example). Alternatively, you can manually trigger fullSync by configuring your blueprint or pipeline's sync policy to set the `fullSync` flag to `true` [reference](https://github.com/apache/incubator-devlake/blob/main/backend/core/models/migrationscripts/20230911_add_sync_policy.go). FullSync mode performs a complete refresh of your Jira board data, which is necessary when the JQL filter changes to ensure all relevant issues are collected [reference](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/jira/tasks/board_filter_begin_collector.go). <!-- 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/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a7111552-5d33-4d85-8bcf-6f1f229a674a?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github)& nbsp;[](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/discussions/8618) GitHub link: https://github.com/apache/incubator-devlake/discussions/8618#discussioncomment-14740752 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
