I\'m not sure, but I have a vague memory of creating a github pull request with \"Issue 4\" or something in the title, and it automatically attached itself to Issue 4 in the
in case you use 2-factor-auth with github you'll need to provide the authtoken as header in the request:
curl -u ":" \ --header 'X-GitHub-OTP: ' \ --request POST \ --data '{"issue":"", "head":":", "base":""}' \ https://api.github.com/repos///pulls