Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

wrong URL for "create pull request" option

Murad Jamal January 22, 2023

I have Sourcetree version 4.2.1 (248) installed on my Mac M1 (OS version: Ventura), my remote is a Microsoft Azure Devops account, it's been setup and configured properly in "Repository Settings -> remotes" section, and I use it since a long time for regular git commands (fetch, pull, merge, push, etc ...).

However, I'm struggling now to get the "create pull request" option to open the correct url but couldn't find a clue for that, I've set the Host Root URL in the "remotes" section to "https://dev.azure.com/my_company/my_project" (with and without a trailing slash), but to no avail, the opened URL is this:

https://dev.azure.com/my_company/my_project/_git/_apis/git/repositories/my_repo/pullrequests?sourceRef=test_branch?api-version=4.1

where the correct URL should be:

https://dev.azure.com/my_company/my_project/_git/my_repo/pullrequestcreate?sourceRef=test_branch&targetRef=develop&sourceRepositoryId=a18050a3-6cdd-468e-930e-e8d0271b8998&targetRepositoryId=a18050a3-6cdd-468e-930e-e8d0271b8998

how can I let the pull request from source tree to open the correct URL in Microsoft  Azure DevOps ?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events