{"action":"closed","number":159,"pull_request":{"url":"https://api.github.com/repos/heroku/retrodot/pulls/159","id":98838573,"html_url":"https://github.com/heroku/retrodot/pull/159","diff_url":"https://github.com/heroku/retrodot/pull/159.diff","patch_url":"https://github.com/heroku/retrodot/pull/159.patch","issue_url":"https://api.github.com/repos/heroku/retrodot/issues/159","number":159,"state":"closed","locked":false,"title":"adding start/end message to timeline","user":{"login":"jmervine","id":837893,"avatar_url":"https://avatars.githubusercontent.com/u/837893?v=3","gravatar_id":"","url":"https://api.github.com/users/jmervine","html_url":"https://github.com/jmervine","followers_url":"https://api.github.com/users/jmervine/followers","following_url":"https://api.github.com/users/jmervine/following{/other_user}","gists_url":"https://api.github.com/users/jmervine/gists{/gist_id}","starred_url":"https://api.github.com/users/jmervine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmervine/subscriptions","organizations_url":"https://api.github.com/users/jmervine/orgs","repos_url":"https://api.github.com/users/jmervine/repos","events_url":"https://api.github.com/users/jmervine/events{/privacy}","received_events_url":"https://api.github.com/users/jmervine/received_events","type":"User","site_admin":false},"body":"addressing #154 \r\n\r\nWhen incident is started without a user (Events API or push from status I'm guessing?) I've allowed this to add the timeline message anyway. I'm think catching unknown users in `timeline_command.rb` to ensure that an error isn't thrown, but rather \"Unknown\" is reported as the user.\r\n\r\nI'm thinking a better way of handling this would be to create an \"Events API\" user, or \"Status Site\" user and then use that as the user when starting an incident via automation. Something like `User.create(name: \"Events API\", handle: nil, email: \"sre-team-only@heroku.com\")`. Discuss.","created_at":"2016-12-20T22:34:29Z","updated_at":"2016-12-21T17:22:20Z","closed_at":"2016-12-21T17:22:20Z","merged_at":"2016-12-21T17:22:20Z","merge_commit_sha":"666f19a630be68f12c47ffaaf0eb24bbe6f0ba79","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/heroku/retrodot/pulls/159/commits","review_comments_url":"https://api.github.com/repos/heroku/retrodot/pulls/159/comments","review_comment_url":"https://api.github.com/repos/heroku/retrodot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heroku/retrodot/issues/159/comments","statuses_url":"https://api.github.com/repos/heroku/retrodot/statuses/8473812a955cff8be2c06c69053d1f4490c8a515","head":{"label":"heroku:jmervine-start-end-timeline","ref":"jmervine-start-end-timeline","sha":"8473812a955cff8be2c06c69053d1f4490c8a515","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":64845715,"name":"retrodot","full_name":"heroku/retrodot","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/retrodot","description":"A self-service tool to automate the facilitation, collection and system of record for the retrospective process","fork":false,"url":"https://api.github.com/repos/heroku/retrodot","forks_url":"https://api.github.com/repos/heroku/retrodot/forks","keys_url":"https://api.github.com/repos/heroku/retrodot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/retrodot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/retrodot/teams","hooks_url":"https://api.github.com/repos/heroku/retrodot/hooks","issue_events_url":"https://api.github.com/repos/heroku/retrodot/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/retrodot/events","assignees_url":"https://api.github.com/repos/heroku/retrodot/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/retrodot/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/retrodot/tags","blobs_url":"https://api.github.com/repos/heroku/retrodot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/retrodot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/retrodot/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/retrodot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/retrodot/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/retrodot/languages","stargazers_url":"https://api.github.com/repos/heroku/retrodot/stargazers","contributors_url":"https://api.github.com/repos/heroku/retrodot/contributors","subscribers_url":"https://api.github.com/repos/heroku/retrodot/subscribers","subscription_url":"https://api.github.com/repos/heroku/retrodot/subscription","commits_url":"https://api.github.com/repos/heroku/retrodot/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/retrodot/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/retrodot/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/retrodot/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/retrodot/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/retrodot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/retrodot/merges","archive_url":"https://api.github.com/repos/heroku/retrodot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/retrodot/downloads","issues_url":"https://api.github.com/repos/heroku/retrodot/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/retrodot/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/retrodot/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/retrodot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/retrodot/labels{/name}","releases_url":"https://api.github.com/repos/heroku/retrodot/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/retrodot/deployments","created_at":"2016-08-03T12:51:55Z","updated_at":"2016-11-23T20:57:41Z","pushed_at":"2016-12-21T17:22:20Z","git_url":"git://github.com/heroku/retrodot.git","ssh_url":"git@github.com:heroku/retrodot.git","clone_url":"https://github.com/heroku/retrodot.git","svn_url":"https://github.com/heroku/retrodot","homepage":null,"size":625,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"heroku:master","ref":"master","sha":"11d23ce5f8fe4995b284a9889623076176aaf87f","user":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"repo":{"id":64845715,"name":"retrodot","full_name":"heroku/retrodot","owner":{"login":"heroku","id":23211,"avatar_url":"https://avatars.githubusercontent.com/u/23211?v=3","gravatar_id":"","url":"https://api.github.com/users/heroku","html_url":"https://github.com/heroku","followers_url":"https://api.github.com/users/heroku/followers","following_url":"https://api.github.com/users/heroku/following{/other_user}","gists_url":"https://api.github.com/users/heroku/gists{/gist_id}","starred_url":"https://api.github.com/users/heroku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heroku/subscriptions","organizations_url":"https://api.github.com/users/heroku/orgs","repos_url":"https://api.github.com/users/heroku/repos","events_url":"https://api.github.com/users/heroku/events{/privacy}","received_events_url":"https://api.github.com/users/heroku/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/heroku/retrodot","description":"A self-service tool to automate the facilitation, collection and system of record for the retrospective process","fork":false,"url":"https://api.github.com/repos/heroku/retrodot","forks_url":"https://api.github.com/repos/heroku/retrodot/forks","keys_url":"https://api.github.com/repos/heroku/retrodot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heroku/retrodot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heroku/retrodot/teams","hooks_url":"https://api.github.com/repos/heroku/retrodot/hooks","issue_events_url":"https://api.github.com/repos/heroku/retrodot/issues/events{/number}","events_url":"https://api.github.com/repos/heroku/retrodot/events","assignees_url":"https://api.github.com/repos/heroku/retrodot/assignees{/user}","branches_url":"https://api.github.com/repos/heroku/retrodot/branches{/branch}","tags_url":"https://api.github.com/repos/heroku/retrodot/tags","blobs_url":"https://api.github.com/repos/heroku/retrodot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heroku/retrodot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heroku/retrodot/git/refs{/sha}","trees_url":"https://api.github.com/repos/heroku/retrodot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heroku/retrodot/statuses/{sha}","languages_url":"https://api.github.com/repos/heroku/retrodot/languages","stargazers_url":"https://api.github.com/repos/heroku/retrodot/stargazers","contributors_url":"https://api.github.com/repos/heroku/retrodot/contributors","subscribers_url":"https://api.github.com/repos/heroku/retrodot/subscribers","subscription_url":"https://api.github.com/repos/heroku/retrodot/subscription","commits_url":"https://api.github.com/repos/heroku/retrodot/commits{/sha}","git_commits_url":"https://api.github.com/repos/heroku/retrodot/git/commits{/sha}","comments_url":"https://api.github.com/repos/heroku/retrodot/comments{/number}","issue_comment_url":"https://api.github.com/repos/heroku/retrodot/issues/comments{/number}","contents_url":"https://api.github.com/repos/heroku/retrodot/contents/{+path}","compare_url":"https://api.github.com/repos/heroku/retrodot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heroku/retrodot/merges","archive_url":"https://api.github.com/repos/heroku/retrodot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heroku/retrodot/downloads","issues_url":"https://api.github.com/repos/heroku/retrodot/issues{/number}","pulls_url":"https://api.github.com/repos/heroku/retrodot/pulls{/number}","milestones_url":"https://api.github.com/repos/heroku/retrodot/milestones{/number}","notifications_url":"https://api.github.com/repos/heroku/retrodot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heroku/retrodot/labels{/name}","releases_url":"https://api.github.com/repos/heroku/retrodot/releases{/id}","deployments_url":"https://api.github.com/repos/heroku/retrodot/deployments","created_at":"2016-08-03T12:51:55Z","updated_at":"2016-11-23T20:57:41Z","pushed_at":"2016-12-21T17:22:20Z","git_url":"git://github.com/heroku/retrodot.git","ssh_url":"git@github.com:heroku/retrodot.git","clone_url":"https://github.com/heroku/retrodot.git","svn_url":"https://github.com/heroku/retrodot","homepage":null,"size":625,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heroku/retrodot/pulls/159"},"html":{"href":"https://github.com/heroku/retrodot/pull/159"},"issue":{"href":"https://api.github.com/repos/heroku/retrodot/issues/159"},"comments":{"href":"https://api.github.com/repos/heroku/retrodot/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/heroku/retrodot/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/heroku/retrodot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heroku/retrodot/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/heroku/retrodot/statuses/8473812a955cff8be2c06c69053d1f4490c8a515"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jmervine","id":837893,"avatar_url":"https://avatars.githubusercontent.com/u/837893?v=3","gravatar_id":"","url":"https://api.github.com/users/jmervine","html_url":"https://github.com/jmervine","followers_url":"https://api.github.com/users/jmervine/followers","following_url":"https://api.github.com/users/jmervine/following{/other_user}","gists_url":"https://api.github.com/users/jmervine/gists{/gist_id}","starred_url":"https://api.github.com/users/jmervine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmervine/subscriptions","organizations_url":"https://api.github.com/users/jmervine/orgs","repos_url":"https://api.github.com/users/jmervine/repos","events_url":"https://api.github.com/users/jmervine/events{/privacy}","received_events_url":"https://api.github.com/users/jmervine/received_events","type":"User","site_admin":false},"comments":4,"review_comments":1,"commits":4,"additions":38,"deletions":4,"changed_files":6}}
{"actor":{"display_login":"jmervine"}}