{"action":"created","issue":{"url":"https://api.github.com/repos/incuna/incuna-groups/issues/21","labels_url":"https://api.github.com/repos/incuna/incuna-groups/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/incuna/incuna-groups/issues/21/comments","events_url":"https://api.github.com/repos/incuna/incuna-groups/issues/21/events","html_url":"https://github.com/incuna/incuna-groups/pull/21","id":113040630,"number":21,"title":"Add email notifications for new discussions and comments","user":{"login":"adam-thomas","id":6973481,"avatar_url":"https://avatars.githubusercontent.com/u/6973481?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-thomas","html_url":"https://github.com/adam-thomas","followers_url":"https://api.github.com/users/adam-thomas/followers","following_url":"https://api.github.com/users/adam-thomas/following{/other_user}","gists_url":"https://api.github.com/users/adam-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-thomas/subscriptions","organizations_url":"https://api.github.com/users/adam-thomas/orgs","repos_url":"https://api.github.com/users/adam-thomas/repos","events_url":"https://api.github.com/users/adam-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/adam-thomas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T15:16:04Z","updated_at":"2015-10-23T16:00:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/incuna/incuna-groups/pulls/21","html_url":"https://github.com/incuna/incuna-groups/pull/21","diff_url":"https://github.com/incuna/incuna-groups/pull/21.diff","patch_url":"https://github.com/incuna/incuna-groups/pull/21.patch"},"body":"Whenever a new discussion or comment is created, subscribers should be emailed to tell them about it (and allow them to reply via email, which comes later).\n\nThere's a little bit of logic involved.  A new discussion emails everyone subscribed to its group, apart from the person who posted it.  A new comment emails _(deep breath)_ everyone in its discussion and that discussion's group, apart from people who've ignored that discussion and the person who posted the comment.\n\nFrom https://incuna-pm.atlassian.net/browse/UKCPA-14.\n\n@incuna/backend review please?"},"comment":{"url":"https://api.github.com/repos/incuna/incuna-groups/issues/comments/150618045","html_url":"https://github.com/incuna/incuna-groups/pull/21#issuecomment-150618045","issue_url":"https://api.github.com/repos/incuna/incuna-groups/issues/21","id":150618045,"user":{"login":"adam-thomas","id":6973481,"avatar_url":"https://avatars.githubusercontent.com/u/6973481?v=3","gravatar_id":"","url":"https://api.github.com/users/adam-thomas","html_url":"https://github.com/adam-thomas","followers_url":"https://api.github.com/users/adam-thomas/followers","following_url":"https://api.github.com/users/adam-thomas/following{/other_user}","gists_url":"https://api.github.com/users/adam-thomas/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-thomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-thomas/subscriptions","organizations_url":"https://api.github.com/users/adam-thomas/orgs","repos_url":"https://api.github.com/users/adam-thomas/repos","events_url":"https://api.github.com/users/adam-thomas/events{/privacy}","received_events_url":"https://api.github.com/users/adam-thomas/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T16:00:19Z","updated_at":"2015-10-23T16:00:19Z","body":"Travis is sad at my attempt to combine querysets with `|` - apparently Django 1.7 can't do that.  It's passing on Django 1.8 atm."}}