Cannot create PR (You don't have any remotes which have extended integration settings configured)
Asked by Jogchem Andre Oord:

I get this error:

"You don't have any remotes which have extended integration settings configured, you need to edit your remotes to add details such as the hosting type and base URL. Click the settings button to open your remote list"

![2018-02-21 17_01_58-Sourcetree.png](/t5/image/serverpage/image-id/15480i7BD990625BDA5ADE/image-size/large?v=v2&px=999 "2018-02-21 17_01_58-Sourcetree.png")

This is in SourceTree 2.4.8.0.

Where do I set the url for the PRs?


Answers:
author: Gerd Tautenhahn
body: I have the same problem, cant create any pull request using sourcetree. I always get the message of missing configuration, doesn't matter what is set there. Using the 3.4.1 version of Sourcetree.

Any ideas i could do here.

![Pull.png](https://community.atlassian.com/t5/image/serverpage/image-id/124302i4838E7711001D988/image-size/large?v=v2&px=999 "Pull.png")![pull2.png](https://community.atlassian.com/t5/image/serverpage/image-id/124304iF432243ECA2E6F76/image-size/large?v=v2&px=999 "pull2.png")

comments: author: Glenn Spies
body: I have the same proble, Reverted to 3.3.9 (only version I had in my appdata)


author: Juan Pablo Finochietto
body: I had to revert to 3.3.9 too and it seems to have fixed the issue.


author: tobiberlin
body: I just can confirm that pr creation from sourcetree to Github stopped from working. Even editing the remote settings does not change anything. I see the blue progress bar but the browser is not opened.


author: Mike Corsaro
body: Hello! Here's how to set the extended integration settings:

![extended.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/15535i61DC60CF64FFC5EB/image-dimensions/622x337?v=v2 "extended.PNG")

Once you hit "Edit" you'll see the options to set the Host Type and URL.

comments: author: Jogchem Andre Oord
body: ![2018-02-22 12_07_23-Sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/15583iE6145915108AF361/image-size/large?v=v2&px=999 "2018-02-22 12_07_23-Sourcetree.png")


author: Jogchem Andre Oord
body: It already has the settings above (i could not add text after I inserted the image so i need to reply twice)

What else should i do?


author: Mike Corsaro
body: If the settings are correct (ST tries to automatically fill them out), then could you try again and see if it works?


author: Jogchem Andre Oord
body: i didn't change anything about the settings. They are like that in the screenshot. But it isn't working.

update: i selected Unknown in the dropdown and then selected Bitbucket again. This has probably reset the configuration, because now I can create a PR from SourceTree again.


author: F?bio Damian
body: This worked for me as well.


author: Randy Meyer
body: I get this error occasionally. Just clicking OK in remote information gets it working again for a while. It is annoying to have to keep going into the settings and clicking OK when I don't change anything.


author: gregshaw
body: I'm using GitHub and what worked for me was: select Unknown, save, select Bitbucket, save (which removes my GitHub userid), then select GitHub again and fill out my userid. I can now create a PR from SourceTreee.

Thanks, Greg.


author: reufis
body: Weirdly, that seemed to work for me too


author: Huy Huynh
body: On Host Type, just unselect and reselect and Save. It would work.


author: Matthew Cawley
body: "update: i selected Unknown in the dropdown and then selected Bitbucket again. This has probably reset the configuration, because now I can create a PR from SourceTree again."  

\^\^ It's always the simple ones that do it :D  

Thank you


author: tobiberlin
body: I have the same problem: right click on a branch name \> "Create pull request..." and then I get the message above. The repo is on Github. When I open the repository settings window and click "Ok" to save the settings I can go on and create the pull request but every time I close sourcetree the same issue appears again - for each and every repo I manage with Sourcetree it is the same so every day I start I need to save the repository settings before I can create pull requests from within Sourcetree.

Additionally on the "Remote" button there is a red icon on the "Remote" button.

![screenshot.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/116115iDCBBB680DD2891D1/image-size/large?v=v2&px=999 "screenshot.PNG")

When I click there I see this message "Unable to open your web browser to '...', do you have your web browser set?"

![screenshot2.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/116116i1E3E15D1EAE0890E/image-size/large?v=v2&px=999 "screenshot2.PNG")

But it makes no sense as the black part in the screenshot shows an URL in the form "git@github:..." which should not be opened in a browser?! When I save the repository settings as mentioned above the red icon disappears and clicking on the button "Remote" opens the github project page in my browser. This happens also every time I close sourcetree.


author: Arqam
body: I use to face the same issue multiple times. Just edit the config, and save it without any change (if your credentials are okay). I will work


author: tobiberlin
body: Yes, but I have to do this everytime Sourcetree was closed and re-opened. At least every day. It seems to me that something is not working as it should.


author: Stephan Shere
body: Unfortunately I have tried all the above methods and am only able to create the Pull Request after the first time I add the remote. Once I close out Sourcetree, I have to delete the remote settings and re-add them.   

I've resorted to just doing my pull requests on GitHub directly.

As a note: I have tried PR to Bitbucket and GitHub both with success only on the first add. I have tried to open the configuration files and verify they are the same after the first run.

The error is always relating to one's that have existed in the past and have been marked fixed, however, we are using the latest versions and are still getting the same null object exceptions.


author: Gerd Tautenhahn
body: I found the work to work with pull request and created a lesson about here

<https://youtu.be/O1ka45DjNO4>


author: Stephan Shere
body: Hey Gerd,

That is the exact work flow we are using now (except with Github) because the 'Create Pull Request' option under a branch would cause a crash.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/132285iC98E9944268774DA/image-size/large?v=v2&px=999 "image.png")

The pull request would show a messaging saying no repositories exist and if you tried to edit any of the repositories Sourcetree would crash.

<br />

***As of Sourcetree 3.4.3 the crash is no longer happening!***


author: Stephan Shere
body: I see you left some of the original messages, so you know the problem! Try to install 3.4.3 and the problem should be resolved, and you should be able to do Pull Requests again from Sourcetree :)


author: tobiberlin
body: I can confirm... for whatever reason Sourcetree did no update and no information was shown that there is an update, I had to download the version 3.4.3 manually. After that I needed to edit the repo settings once as described above but after a new start of sourctree everything is working now as expected


author: David Lipschitz
body: Re Pull Requests in SourceTree:

I just had the same problem with the latest Windows version 3.3.8.3848 and

[Jogchem Andre Oord](https://community.atlassian.com/t5/user/viewprofilepage/user-id/882844) 's answer re selecting BitBucket Host Type solved my problem.