Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,846
Community Members
 
Community Events
168
Community Groups

SourceTree - Custom Pull Request Query

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!

1 answer

1 accepted

0 votes
Answer accepted
bgannin Atlassian Team Jan 17, 2019

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!

@chip wood We added GitLab support in the 3.0 updates for both Mac and Windows so you're good to go there 👍

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events