{"action":"closed","issue":{"url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/issues/24","repository_url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver","labels_url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/issues/24/comments","events_url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/issues/24/events","html_url":"https://github.com/CS450-ECE461/fall2016-group2-apiserver/issues/24","id":187468980,"number":24,"title":"Create a new Admin account when a new organization is created","user":{"login":"DannyPeck","id":14323896,"avatar_url":"https://avatars.githubusercontent.com/u/14323896?v=3","gravatar_id":"","url":"https://api.github.com/users/DannyPeck","html_url":"https://github.com/DannyPeck","followers_url":"https://api.github.com/users/DannyPeck/followers","following_url":"https://api.github.com/users/DannyPeck/following{/other_user}","gists_url":"https://api.github.com/users/DannyPeck/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyPeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyPeck/subscriptions","organizations_url":"https://api.github.com/users/DannyPeck/orgs","repos_url":"https://api.github.com/users/DannyPeck/repos","events_url":"https://api.github.com/users/DannyPeck/events{/privacy}","received_events_url":"https://api.github.com/users/DannyPeck/received_events","type":"User","site_admin":false},"labels":[{"id":480330554,"url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/labels/new","name":"new","color":"006b75","default":false}],"state":"closed","locked":false,"assignee":{"login":"amjustin13","id":13989262,"avatar_url":"https://avatars.githubusercontent.com/u/13989262?v=3","gravatar_id":"","url":"https://api.github.com/users/amjustin13","html_url":"https://github.com/amjustin13","followers_url":"https://api.github.com/users/amjustin13/followers","following_url":"https://api.github.com/users/amjustin13/following{/other_user}","gists_url":"https://api.github.com/users/amjustin13/gists{/gist_id}","starred_url":"https://api.github.com/users/amjustin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjustin13/subscriptions","organizations_url":"https://api.github.com/users/amjustin13/orgs","repos_url":"https://api.github.com/users/amjustin13/repos","events_url":"https://api.github.com/users/amjustin13/events{/privacy}","received_events_url":"https://api.github.com/users/amjustin13/received_events","type":"User","site_admin":false},"assignees":[{"login":"amjustin13","id":13989262,"avatar_url":"https://avatars.githubusercontent.com/u/13989262?v=3","gravatar_id":"","url":"https://api.github.com/users/amjustin13","html_url":"https://github.com/amjustin13","followers_url":"https://api.github.com/users/amjustin13/followers","following_url":"https://api.github.com/users/amjustin13/following{/other_user}","gists_url":"https://api.github.com/users/amjustin13/gists{/gist_id}","starred_url":"https://api.github.com/users/amjustin13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amjustin13/subscriptions","organizations_url":"https://api.github.com/users/amjustin13/orgs","repos_url":"https://api.github.com/users/amjustin13/repos","events_url":"https://api.github.com/users/amjustin13/events{/privacy}","received_events_url":"https://api.github.com/users/amjustin13/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/milestones/2","html_url":"https://github.com/CS450-ECE461/fall2016-group2-apiserver/milestones/Sprint%202%20-%20Organizations","labels_url":"https://api.github.com/repos/CS450-ECE461/fall2016-group2-apiserver/milestones/2/labels","id":2116004,"number":2,"title":"Sprint 2 - Organizations","description":"This sprint we will focus on:\r\n- The creation of Organizations\r\n- Associating Users with Organizations\r\n- Retrieving Users by Organization\r\n- Displaying available users within an Organization","creator":{"login":"DannyPeck","id":14323896,"avatar_url":"https://avatars.githubusercontent.com/u/14323896?v=3","gravatar_id":"","url":"https://api.github.com/users/DannyPeck","html_url":"https://github.com/DannyPeck","followers_url":"https://api.github.com/users/DannyPeck/followers","following_url":"https://api.github.com/users/DannyPeck/following{/other_user}","gists_url":"https://api.github.com/users/DannyPeck/gists{/gist_id}","starred_url":"https://api.github.com/users/DannyPeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DannyPeck/subscriptions","organizations_url":"https://api.github.com/users/DannyPeck/orgs","repos_url":"https://api.github.com/users/DannyPeck/repos","events_url":"https://api.github.com/users/DannyPeck/events{/privacy}","received_events_url":"https://api.github.com/users/DannyPeck/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":7,"state":"open","created_at":"2016-11-04T23:43:44Z","updated_at":"2016-12-03T02:00:19Z","due_on":"2016-11-20T00:00:00Z","closed_at":null},"comments":1,"created_at":"2016-11-05T01:32:48Z","updated_at":"2016-12-03T02:00:19Z","closed_at":"2016-12-03T02:00:19Z","body":"When a new organization is created it will emit a 'organization.created' event.  Using Blueprints listeners we can create a listener for the 'organization.created' event called createAdmin which will take in the organization as a parameter and create and add the admin to the database."}}
{"actor":{"display_login":"amjustin13"}}