{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9363","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9363/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9363/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9363/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9363","id":85737315,"number":9363,"title":"Issue closing pattern on non-default branches","user":{"login":"stefan-it","id":6200857,"avatar_url":"https://avatars.githubusercontent.com/u/6200857?v=3","gravatar_id":"","url":"https://api.github.com/users/stefan-it","html_url":"https://github.com/stefan-it","followers_url":"https://api.github.com/users/stefan-it/followers","following_url":"https://api.github.com/users/stefan-it/following{/other_user}","gists_url":"https://api.github.com/users/stefan-it/gists{/gist_id}","starred_url":"https://api.github.com/users/stefan-it/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefan-it/subscriptions","organizations_url":"https://api.github.com/users/stefan-it/orgs","repos_url":"https://api.github.com/users/stefan-it/repos","events_url":"https://api.github.com/users/stefan-it/events{/privacy}","received_events_url":"https://api.github.com/users/stefan-it/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-06T11:11:12Z","updated_at":"2015-06-17T22:32:44Z","closed_at":"2015-06-17T22:32:44Z","body":"Hi,\r\n\r\nwhen using the \"git flow\" (that means: `master`, `develop` and feature branches), is there any way to get the issue closing pattern work with a non-default branch? \r\n\r\nFor example:\r\n\r\nI implement a feature on `feature/issue-42` and then I create a MR which includes the pattern \"Closes #42\". This MR goes into `develop`. After merging it into `develop` it would be awesome if the corresponding issue would be closed automatically.\r\n\r\nSo can anyone please give me some hints how this can be implemented? \r\n\r\nThanks many in advance,\r\n\r\nStefan\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/112970736","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9363#issuecomment-112970736","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9363","id":112970736,"user":{"login":"stanhu","id":963826,"avatar_url":"https://avatars.githubusercontent.com/u/963826?v=3","gravatar_id":"","url":"https://api.github.com/users/stanhu","html_url":"https://github.com/stanhu","followers_url":"https://api.github.com/users/stanhu/followers","following_url":"https://api.github.com/users/stanhu/following{/other_user}","gists_url":"https://api.github.com/users/stanhu/gists{/gist_id}","starred_url":"https://api.github.com/users/stanhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanhu/subscriptions","organizations_url":"https://api.github.com/users/stanhu/orgs","repos_url":"https://api.github.com/users/stanhu/repos","events_url":"https://api.github.com/users/stanhu/events{/privacy}","received_events_url":"https://api.github.com/users/stanhu/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T22:32:44Z","updated_at":"2015-06-17T22:32:44Z","body":"I'm going to close this one because I doubt this feature will be supported in the near future."}}