{"action":"created","issue":{"url":"https://api.github.com/repos/pculture/unisubs/issues/2739","repository_url":"https://api.github.com/repos/pculture/unisubs","labels_url":"https://api.github.com/repos/pculture/unisubs/issues/2739/labels{/name}","comments_url":"https://api.github.com/repos/pculture/unisubs/issues/2739/comments","events_url":"https://api.github.com/repos/pculture/unisubs/issues/2739/events","html_url":"https://github.com/pculture/unisubs/issues/2739","id":204334867,"number":2739,"title":"Support notifications for multiple teams","user":{"login":"bendk","id":1012809,"avatar_url":"https://avatars.githubusercontent.com/u/1012809?v=3","gravatar_id":"","url":"https://api.github.com/users/bendk","html_url":"https://github.com/bendk","followers_url":"https://api.github.com/users/bendk/followers","following_url":"https://api.github.com/users/bendk/following{/other_user}","gists_url":"https://api.github.com/users/bendk/gists{/gist_id}","starred_url":"https://api.github.com/users/bendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendk/subscriptions","organizations_url":"https://api.github.com/users/bendk/orgs","repos_url":"https://api.github.com/users/bendk/repos","events_url":"https://api.github.com/users/bendk/events{/privacy}","received_events_url":"https://api.github.com/users/bendk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"syl22-00","id":875066,"avatar_url":"https://avatars.githubusercontent.com/u/875066?v=3","gravatar_id":"","url":"https://api.github.com/users/syl22-00","html_url":"https://github.com/syl22-00","followers_url":"https://api.github.com/users/syl22-00/followers","following_url":"https://api.github.com/users/syl22-00/following{/other_user}","gists_url":"https://api.github.com/users/syl22-00/gists{/gist_id}","starred_url":"https://api.github.com/users/syl22-00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl22-00/subscriptions","organizations_url":"https://api.github.com/users/syl22-00/orgs","repos_url":"https://api.github.com/users/syl22-00/repos","events_url":"https://api.github.com/users/syl22-00/events{/privacy}","received_events_url":"https://api.github.com/users/syl22-00/received_events","type":"User","site_admin":false},"assignees":[{"login":"syl22-00","id":875066,"avatar_url":"https://avatars.githubusercontent.com/u/875066?v=3","gravatar_id":"","url":"https://api.github.com/users/syl22-00","html_url":"https://github.com/syl22-00","followers_url":"https://api.github.com/users/syl22-00/followers","following_url":"https://api.github.com/users/syl22-00/following{/other_user}","gists_url":"https://api.github.com/users/syl22-00/gists{/gist_id}","starred_url":"https://api.github.com/users/syl22-00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl22-00/subscriptions","organizations_url":"https://api.github.com/users/syl22-00/orgs","repos_url":"https://api.github.com/users/syl22-00/repos","events_url":"https://api.github.com/users/syl22-00/events{/privacy}","received_events_url":"https://api.github.com/users/syl22-00/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pculture/unisubs/milestones/24","html_url":"https://github.com/pculture/unisubs/milestone/24","labels_url":"https://api.github.com/repos/pculture/unisubs/milestones/24/labels","id":2254878,"number":24,"title":"Sprint 5","description":"","creator":{"login":"kslottow","id":22455700,"avatar_url":"https://avatars.githubusercontent.com/u/22455700?v=3","gravatar_id":"","url":"https://api.github.com/users/kslottow","html_url":"https://github.com/kslottow","followers_url":"https://api.github.com/users/kslottow/followers","following_url":"https://api.github.com/users/kslottow/following{/other_user}","gists_url":"https://api.github.com/users/kslottow/gists{/gist_id}","starred_url":"https://api.github.com/users/kslottow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kslottow/subscriptions","organizations_url":"https://api.github.com/users/kslottow/orgs","repos_url":"https://api.github.com/users/kslottow/repos","events_url":"https://api.github.com/users/kslottow/events{/privacy}","received_events_url":"https://api.github.com/users/kslottow/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2017-01-16T14:33:02Z","updated_at":"2017-02-01T17:02:01Z","due_on":"2017-02-10T08:00:00Z","closed_at":null},"comments":0,"created_at":"2017-01-31T15:42:07Z","updated_at":"2017-02-06T17:17:13Z","closed_at":null,"body":"Right now the TeamNotificationsSettings model in the notifications app only supports one team.  We have many partners that have multiple teams.  We should support firing the events for multiple teams\r\n\r\nI think the best way is to keep the team field and an extra one-to-many field called \"extra_teams\" or something.\r\n\r\n- The team in the team field should still be considered the \"primary team\".  Meaning:\r\n  - We calculate the numbers based on that team\r\n  - The API endpoints use that team's slug\r\n  - The other teams are simply there to cause extra notifications to fire when things happen on those team's videos."},"comment":{"url":"https://api.github.com/repos/pculture/unisubs/issues/comments/277749192","html_url":"https://github.com/pculture/unisubs/issues/2739#issuecomment-277749192","issue_url":"https://api.github.com/repos/pculture/unisubs/issues/2739","id":277749192,"user":{"login":"bendk","id":1012809,"avatar_url":"https://avatars.githubusercontent.com/u/1012809?v=3","gravatar_id":"","url":"https://api.github.com/users/bendk","html_url":"https://github.com/bendk","followers_url":"https://api.github.com/users/bendk/followers","following_url":"https://api.github.com/users/bendk/following{/other_user}","gists_url":"https://api.github.com/users/bendk/gists{/gist_id}","starred_url":"https://api.github.com/users/bendk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendk/subscriptions","organizations_url":"https://api.github.com/users/bendk/orgs","repos_url":"https://api.github.com/users/bendk/repos","events_url":"https://api.github.com/users/bendk/events{/privacy}","received_events_url":"https://api.github.com/users/bendk/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T17:17:13Z","updated_at":"2017-02-06T17:17:13Z","body":"@syl22-00 can you prioritize this one?  It would make things simpler with the google integration."}}
{"actor":{"display_login":"bendk"}}