We're currently using TeamForge for a project at work and the query to make a pull request doesn't quite line up with what source tree creates.
The only way to define a custom URL is to choose 'Stash', but the format for the query for Stash doesn't match our TeamForge pull request query. This is the relevant part of the URL generated by SourceTree using Stash:
projects/29418/repos/blueline_3-main/pull-requests?create&sourceBranch=sourcetreepullreq
The actual query for our TeamForge instance looks like this:
projects.blueline_3/git/scm.main/reviews/create?sourceTreeId=refs%2Fheads%2Fsourcetreepullreq
Is there a way to define a custom query? We'd love to be able to use the 'generate pull request' feature in SourceTree as opposed to manually navigating to the form via our browsers.
Thanks!
Hi Chip,
We don't expose that in Sourcetree for customization. Each supported service uses a different format and we want to manage the interactions with them to ensure proper behavior. I recommend filing a ticket in our trackers (Mac and Windows) for TeamForge support if there isn't one already so folks can vote and comment. We review these when planning future releases.
Thanks,
Brian Ganninger
Principal Developer, Sourcetree
Thanks Brian - I'll give that a shot. We might be switching from TeamForge to GitLab anyway and I don't see that as an option either - I'll test the supported services to see if their queries match GitLab's before proceeding with a ticket.
Thanks again!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@chip wood We added GitLab support in the 3.0 updates for both Mac and Windows so you're good to go there 👍
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.