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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.