We are currently using JIRA and Bitbucket together. In Bitbucket we have one branch (develop) set up as the default branch. The structure of our branches goes like this:
develop -> features -> tasks
Say that we are working on Feature A (branched from develop). In this case, we will create a new branch for Task 1 (branched from Feature A). When work is done on Task 1, we create a pull request (from JIRA).
I was wondering if there is any way to have the pull request automatically show Feature A as the "merge to" branch instead of develop.
Thanks!
Unfortunately, no. There is no "source" branch concept in git. Bitbucket server is simply using the default branch (develop in your case) and that's all you can do.
Might be a good feature request but there are complications. For example, branches can be created locally and pushed to remote. There is no way Bitbucket can track the source branch in that case!
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.