dosubot[bot] commented on issue #8491: URL: https://github.com/apache/incubator-devlake/issues/8491#issuecomment-3043836388
<!-- Answer --> Yes, I looked into this—your usage and syntax for ENABLE_SUBTASKS_BY_DEFAULT are correct, but the Bitbucket Server plugin currently doesn't respect this environment variable due to how its pipeline plan is built. Unlike other plugins, it doesn't update the EnabledByDefault flag for subtasks based on the env variable, so disabling subtasks this way has no effect. This is an implementation oversight specific to Bitbucket Server; other plugins like Jira and Gitlab do support this behavior as expected. Fixing this would require changes to the pipeline creation logic for Bitbucket Server to match the approach used by other plugins. There aren't any alternative config options or workarounds available right now for disabling these subtasks globally via env vars. More details in the [code reference](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/bitbucket_server/api/blueprint_v200.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/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5b8307c9-5e0a-4f66-b8ad-2cd17f608180?feedback_type=other)</sup> [](https://go.dosu.dev/discord-bot) [! [Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/issues/8491) -- 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