azure-devops-cli-extension
azure-devops-cli-extension copied to clipboard
"PR create" should use default PR template
Is your feature request related to a problem? Please describe. It is not possible to create a PR from CLI using PR templates. The PR template cannot be added after PR is created.
Describe the solution you'd like The command "pr create" should respect default pull request template at least. It would be nice to have an option to use another template upon creation. Like: "pr create --template "template.md"
Additional context https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates?view=azure-devops
We will look into this as this seems to be a feature update in recent api release.
We have automatic PRs created via a pipeline and this is kinda blocking our flow. It doesn't seem supported by the REST api yet either. https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull-requests/create?view=azure-devops-rest-6.1
Seems to be tracked here https://developercommunity.visualstudio.com/t/Pull-request-template-not-applied-when-P/1359150?space=21&q=pull+request+rest+template+create&stateGroup=active
Now this is badly affecting our workflow as well as the vast majority of our developers create PRs using the AZ ClI. Any update on when this would be resolved?
Thanks, Kiran Hegde
Hi Any update on this feature?