microsoft / azure-devops-intellij

IntelliJ IDEA plug-in for Visual Studio Team Services and Team Foundation Server (TFS)
MIT License
151 stars 95 forks source link

Use Pull Request Template if one is created AND allow selection of target branch #422

Open dukesta3 opened 3 years ago

dukesta3 commented 3 years ago

In Azure DevOps from the web, you can have a default Pull Request Template as per: https://docs.microsoft.com/en-us/azure/devops/repos/git/pull-request-templates?view=azure-devops

Additionally, we don't have a master, so it looks like the target branch is the first one which isn't our actual default (develop).

So, what ends up happening, is title and data auto gets filled out but it's against the wrong branch. When you change to the branch you want, you have to delete the auto filled in data. If you're using a Pull Request Template, you wouldn't want that anyways.

alonewarrior commented 3 years ago

I can't speak to templates, but I can attest to the annoyance of the Title and Description fields not updating when choosing a different target branch to create a PR against. If it takes awhile to load the info and I change the target branch fast enough it will correctly fill them out, but it's seldom that I'm fast enough, especially when there are a number of branches to choose from.