Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi there, this is a bit of a specific question, but i'm trying to programmatically open a browser to the pull request screen for the current branch, I have it working with:
CWD="${PWD##*/}"
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
open https://bitbucket.org/{orgName}/$CWD/pull-requests/new?source=$BRANCH&t=1
Which is great, I just can't seem to set the destination, it always defaults to master was wondering if there is a URL parameter to change it to develop for example
?destination=develop
You can use &dest=$BRANCH2
Also can we pass the destination-repository-name in the url params ??
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.
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.