The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

wrong URL for "create pull request" option

Murad Jamal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events