Forum Discussion
msherms
Oct 24, 2023Copper Contributor
Azure DevOps Server API - Create Pipeline is Non functional
Hi, The azure devops server API allows creation of a Pipeline: https://learn.microsoft.com/en-us/rest/api/azure/devops/pipelines/pipelines/create?view=azure-devops-server-rest-7.0#pipeline If...
Kidd_Ip
Jun 26, 2025MVP
Seems the defaultBranch property in the API payload is not honored during pipeline creation, please try to change the Repo default branch temporarily, manually create a pipeline once or using classic one
msherms
Jun 26, 2025Copper Contributor
To confirm, you're saying to use the REST API to change the default branch temporarily, run the create, and then revert?
https://learn.microsoft.com/en-us/rest/api/azure/devops/git/repositories/update?view=azure-devops-server-rest-7.0&tabs=HTTP