{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/2111","labels_url":"https://api.github.com/repos/gogits/gogs/issues/2111/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/2111/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/2111/events","html_url":"https://github.com/gogits/gogs/issues/2111","id":120664359,"number":2111,"title":"gogs should create the pull requests between the same branches by default","user":{"login":"roidelapluie","id":291750,"avatar_url":"https://avatars.githubusercontent.com/u/291750?v=3","gravatar_id":"","url":"https://api.github.com/users/roidelapluie","html_url":"https://github.com/roidelapluie","followers_url":"https://api.github.com/users/roidelapluie/followers","following_url":"https://api.github.com/users/roidelapluie/following{/other_user}","gists_url":"https://api.github.com/users/roidelapluie/gists{/gist_id}","starred_url":"https://api.github.com/users/roidelapluie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roidelapluie/subscriptions","organizations_url":"https://api.github.com/users/roidelapluie/orgs","repos_url":"https://api.github.com/users/roidelapluie/repos","events_url":"https://api.github.com/users/roidelapluie/events{/privacy}","received_events_url":"https://api.github.com/users/roidelapluie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gogits/gogs/milestones/9","html_url":"https://github.com/gogits/gogs/milestones/0.9.0","labels_url":"https://api.github.com/repos/gogits/gogs/milestones/9/labels","id":1226114,"number":9,"title":"0.9.0","description":"","creator":{"login":"Unknwon","id":2946214,"avatar_url":"https://avatars.githubusercontent.com/u/2946214?v=3","gravatar_id":"","url":"https://api.github.com/users/Unknwon","html_url":"https://github.com/Unknwon","followers_url":"https://api.github.com/users/Unknwon/followers","following_url":"https://api.github.com/users/Unknwon/following{/other_user}","gists_url":"https://api.github.com/users/Unknwon/gists{/gist_id}","starred_url":"https://api.github.com/users/Unknwon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unknwon/subscriptions","organizations_url":"https://api.github.com/users/Unknwon/orgs","repos_url":"https://api.github.com/users/Unknwon/repos","events_url":"https://api.github.com/users/Unknwon/events{/privacy}","received_events_url":"https://api.github.com/users/Unknwon/received_events","type":"User","site_admin":false},"open_issues":110,"closed_issues":6,"state":"open","created_at":"2015-07-26T11:28:23Z","updated_at":"2015-12-14T11:25:10Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-12-06T22:18:42Z","updated_at":"2015-12-14T14:38:56Z","closed_at":null,"body":"Repo A has following branches:\r\nstable\r\ndev\r\nmaster\r\n\r\nrepo B is a fork. When creating a pull request from branch dev, it creates it against master by default. It should create the pull request against the dev branch if it exists on the main repo."},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/164453473","html_url":"https://github.com/gogits/gogs/issues/2111#issuecomment-164453473","issue_url":"https://api.github.com/repos/gogits/gogs/issues/2111","id":164453473,"user":{"login":"roidelapluie","id":291750,"avatar_url":"https://avatars.githubusercontent.com/u/291750?v=3","gravatar_id":"","url":"https://api.github.com/users/roidelapluie","html_url":"https://github.com/roidelapluie","followers_url":"https://api.github.com/users/roidelapluie/followers","following_url":"https://api.github.com/users/roidelapluie/following{/other_user}","gists_url":"https://api.github.com/users/roidelapluie/gists{/gist_id}","starred_url":"https://api.github.com/users/roidelapluie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roidelapluie/subscriptions","organizations_url":"https://api.github.com/users/roidelapluie/orgs","repos_url":"https://api.github.com/users/roidelapluie/repos","events_url":"https://api.github.com/users/roidelapluie/events{/privacy}","received_events_url":"https://api.github.com/users/roidelapluie/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T14:38:56Z","updated_at":"2015-12-14T14:38:56Z","body":"@nanoant it is not relevant to comare to local repo because we do not always update all the branches"}}