{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8495","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8495/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8495/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8495/events","html_url":"https://github.com/gitlabhq/gitlabhq/pull/8495","id":52939655,"number":8495,"title":"Merge request error display","user":{"login":"dblessing","id":2394772,"avatar_url":"https://avatars.githubusercontent.com/u/2394772?v=3","gravatar_id":"","url":"https://api.github.com/users/dblessing","html_url":"https://github.com/dblessing","followers_url":"https://api.github.com/users/dblessing/followers","following_url":"https://api.github.com/users/dblessing/following{/other_user}","gists_url":"https://api.github.com/users/dblessing/gists{/gist_id}","starred_url":"https://api.github.com/users/dblessing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblessing/subscriptions","organizations_url":"https://api.github.com/users/dblessing/orgs","repos_url":"https://api.github.com/users/dblessing/repos","events_url":"https://api.github.com/users/dblessing/events{/privacy}","received_events_url":"https://api.github.com/users/dblessing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/labels/Ready+for+Merge","name":"Ready for Merge","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones/29","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/milestones/29/labels","id":905518,"number":29,"title":"7.7","description":"","creator":{"login":"jvanbaarsen","id":1362793,"avatar_url":"https://avatars.githubusercontent.com/u/1362793?v=3","gravatar_id":"","url":"https://api.github.com/users/jvanbaarsen","html_url":"https://github.com/jvanbaarsen","followers_url":"https://api.github.com/users/jvanbaarsen/followers","following_url":"https://api.github.com/users/jvanbaarsen/following{/other_user}","gists_url":"https://api.github.com/users/jvanbaarsen/gists{/gist_id}","starred_url":"https://api.github.com/users/jvanbaarsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvanbaarsen/subscriptions","organizations_url":"https://api.github.com/users/jvanbaarsen/orgs","repos_url":"https://api.github.com/users/jvanbaarsen/repos","events_url":"https://api.github.com/users/jvanbaarsen/events{/privacy}","received_events_url":"https://api.github.com/users/jvanbaarsen/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":15,"state":"open","created_at":"2014-12-16T12:46:14Z","updated_at":"2015-01-06T18:07:10Z","due_on":"2015-01-21T23:00:00Z","closed_at":null},"comments":5,"created_at":"2014-12-26T21:29:26Z","updated_at":"2015-01-06T18:07:13Z","closed_at":"2015-01-06T18:07:10Z","pull_request":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/pulls/8495","html_url":"https://github.com/gitlabhq/gitlabhq/pull/8495","diff_url":"https://github.com/gitlabhq/gitlabhq/pull/8495.diff","patch_url":"https://github.com/gitlabhq/gitlabhq/pull/8495.patch"},"body":"Fixes #8432 \r\n\r\nCurrently, GitLab displays an error message whenever a new merge request is created. This is often confusing for users. There is another catch point that will show an error (see screenshot) if a user clicks \"Compare branches\" without specifying a source or target. If a source and target branch are not specified under other circumstances I think it's OK to quietly 'fail' without showing a message. I'm not sure if this is acceptable but I can't see any pitfalls so far. Please provide feedback.\r\n\r\nBefore:\r\n![screen shot 2014-12-26 at 3 28 35 pm](https://cloud.githubusercontent.com/assets/2394772/5559464/e7084d6e-8d13-11e4-97f3-d0b811b716ad.png)\r\n\r\nExisting and unchanged (if user clicks 'Compare branches' without specifying'):\r\n![screen shot 2014-12-26 at 3 25 03 pm](https://cloud.githubusercontent.com/assets/2394772/5559461/c0e63a06-8d13-11e4-94b9-b93ced7fba8f.png)"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/68905316","html_url":"https://github.com/gitlabhq/gitlabhq/pull/8495#issuecomment-68905316","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/8495","id":68905316,"user":{"login":"randx","id":305940,"avatar_url":"https://avatars.githubusercontent.com/u/305940?v=3","gravatar_id":"","url":"https://api.github.com/users/randx","html_url":"https://github.com/randx","followers_url":"https://api.github.com/users/randx/followers","following_url":"https://api.github.com/users/randx/following{/other_user}","gists_url":"https://api.github.com/users/randx/gists{/gist_id}","starred_url":"https://api.github.com/users/randx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randx/subscriptions","organizations_url":"https://api.github.com/users/randx/orgs","repos_url":"https://api.github.com/users/randx/repos","events_url":"https://api.github.com/users/randx/events{/privacy}","received_events_url":"https://api.github.com/users/randx/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T18:07:13Z","updated_at":"2015-01-06T18:07:13Z","body":":+1: "}}