I tried creating my own .MD files for a template to get for my branch PR's like an image below
in my develop branch
then I created one more branch based on it and did some changes and tried to create a pull request but the pull request is not showing the template but the default description as changed file name
I'm not able to see even Add a template dropdown
is I am missing any master settings and is this only available in paid accounts?
I was referring to the link https://learn.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates?view=azure-devops&source=docs so is it outdated in that case can you help me with the latest steps or link
We need save these .md files in the default branch.
According to the doc: Branch specific pull request templates must be saved in the default branch of your repository using the following folder hierarchy: pull_request_template/branches/. These folders must be based in one of the following folders in your repository.
.azuredevops
that is contained in the root folder of the repository.vsts
that is contained in the root folder of the repositorydocs
that is contained in the root folder of the repositoryAnd this is my test result:
Update1
According to the doc and my test result, we could only create template in the default branch like master, If we create template file in other branch, we cannot use it in the pull request.
You could add your request for this feature on our UserVoice site, which is our main forum for product suggestions. Thank you for helping us build a better Azure DevOps.