dosubot[bot] commented on issue #8673: URL: https://github.com/apache/incubator-devlake/issues/8673#issuecomment-3705719048
<!-- Answer --> DevLake's codebase already supports organization-scoped Azure DevOps PATs—the requirement for "all available organisations" is just in the documentation and UI, not a technical limitation. You can use an organization-scoped PAT by specifying the organization in the connection settings. The backend will use the PAT for that specific org, and there are no hidden dependencies on global PATs in the code ([source](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/models/connection.go), [source](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/api/connection_api.go)). However, there are currently no issues or PRs tracking the upcoming deprecation or updating the docs/UI to reflect this, so the guidance hasn't caught up yet ([source](https://github.com/apache/incubator-devlake/blob/main/config-ui/public/onboard/step-2/azuredevops.md), [source](https://github.com/apache/incubator-devlake/blob/main/config-ui/src/plugins/register/azure/config.tsx)). For now, you can safely use organization-scoped PATs with DevLake by entering your org name in the connection config. It would be a good idea for the project to update the documentation and UI to clarify this before the deprecation deadline. <!-- 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/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2695e65f-f915-475c-95d3-8a29ae30c539?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github) [](https://cursor.com/link/prompt?text=DevLake%27s%20codebase%20already%20supports%20organization-scoped%20Azure%20DevOps%20PATs%E2%80%94the%20requirement%20for%20%22all%20available%20organisations%22%20is%20just%20in%20the%20documentation%20and%20UI%2C%20not%20a%20technical%20limitation.%20You%20can%20use%20an%20organization-scoped%20PAT%20by%20specifying%20the%20organization%20in%20the%20connection%20settings.%20The%20backend%20will%20use%20the%20PAT%20for%20that%20specific%20org%2C%20and%20there%20are%20no%20hidden%20dependencies%20on%20global%20PATs%20in%20the%20code%20%28%5Bsource%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/plugins/azuredevops_go/models/connection.go%29%2C%20%5Bsource%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/backend/plug ins/azuredevops_go/api/connection_api.go%29%29.%0A%0AHowever%2C%20there%20are%20currently%20no%20issues%20or%20PRs%20tracking%20the%20upcoming%20deprecation%20or%20updating%20the%20docs/UI%20to%20reflect%20this%2C%20so%20the%20guidance%20hasn%27t%20caught%20up%20yet%20%28%5Bsource%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/config-ui/public/onboard/step-2/azuredevops.md%29%2C%20%5Bsource%5D%28https%3A//github.com/apache/incubator-devlake/blob/main/config-ui/src/plugins/register/azure/config.tsx%29%29.%20For%20now%2C%20you%20can%20safely%20use%20organization-scoped%20PATs%20with%20DevLake%20by%20entering%20your%20org%20name%20in%20the%20connection%20config.%20It%20would%20be%20a%20good%20idea%20for%20the%20project%20to%20update%20the%20documentation%20and%20UI%20to%20clarify%20this%20before%20the%20deprecation%20deadline.) [](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/8673) -- 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]
