{"action":"created","comment":{"url":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments/213261071","pull_request_review_id":150058710,"id":213261071,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzI2MTA3MQ==","diff_hunk":"@@ -295,6 +295,7 @@ func (service SprintService) AssignPoints(sprintID string) (err error) {\n \t\tNot(\"sprint_tasks.id in (?)\", sprintTaskToSkipPointsAllocation).\n \t\tScopes(retroModels.NotDeletedSprint).\n \t\tWhere(\"tasks.retrospective_id = ?\", sprint.RetrospectiveID).\n+\t\tNot(\"tasks.done_at IS NULL\").","path":"apps/retrospective/services/sprint_sync.go","position":13,"original_position":13,"commit_id":"00c98ee36faf6a57010c1a846ac0c953609cf2c2","original_commit_id":"00c98ee36faf6a57010c1a846ac0c953609cf2c2","user":{"login":"anmolghosh","id":8056165,"node_id":"MDQ6VXNlcjgwNTYxNjU=","avatar_url":"https://avatars3.githubusercontent.com/u/8056165?v=4","gravatar_id":"","url":"https://api.github.com/users/anmolghosh","html_url":"https://github.com/anmolghosh","followers_url":"https://api.github.com/users/anmolghosh/followers","following_url":"https://api.github.com/users/anmolghosh/following{/other_user}","gists_url":"https://api.github.com/users/anmolghosh/gists{/gist_id}","starred_url":"https://api.github.com/users/anmolghosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmolghosh/subscriptions","organizations_url":"https://api.github.com/users/anmolghosh/orgs","repos_url":"https://api.github.com/users/anmolghosh/repos","events_url":"https://api.github.com/users/anmolghosh/events{/privacy}","received_events_url":"https://api.github.com/users/anmolghosh/received_events","type":"User","site_admin":false},"body":"replace this with \r\n`where done_at is not null`","created_at":"2018-08-28T10:28:22Z","updated_at":"2018-08-28T10:38:07Z","html_url":"https://github.com/iReflect/reflect-app/pull/160#discussion_r213261071","pull_request_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/160","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments/213261071"},"html":{"href":"https://github.com/iReflect/reflect-app/pull/160#discussion_r213261071"},"pull_request":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/160"}}},"pull_request":{"url":"https://api.github.com/repos/iReflect/reflect-app/pulls/160","id":207760640,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3NzYwNjQw","html_url":"https://github.com/iReflect/reflect-app/pull/160","diff_url":"https://github.com/iReflect/reflect-app/pull/160.diff","patch_url":"https://github.com/iReflect/reflect-app/pull/160.patch","issue_url":"https://api.github.com/repos/iReflect/reflect-app/issues/160","number":160,"state":"open","locked":false,"title":"[#IR-294] Update the Assign Points algorithm","user":{"login":"himanshu-garg-165","id":20516173,"node_id":"MDQ6VXNlcjIwNTE2MTcz","avatar_url":"https://avatars3.githubusercontent.com/u/20516173?v=4","gravatar_id":"","url":"https://api.github.com/users/himanshu-garg-165","html_url":"https://github.com/himanshu-garg-165","followers_url":"https://api.github.com/users/himanshu-garg-165/followers","following_url":"https://api.github.com/users/himanshu-garg-165/following{/other_user}","gists_url":"https://api.github.com/users/himanshu-garg-165/gists{/gist_id}","starred_url":"https://api.github.com/users/himanshu-garg-165/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himanshu-garg-165/subscriptions","organizations_url":"https://api.github.com/users/himanshu-garg-165/orgs","repos_url":"https://api.github.com/users/himanshu-garg-165/repos","events_url":"https://api.github.com/users/himanshu-garg-165/events{/privacy}","received_events_url":"https://api.github.com/users/himanshu-garg-165/received_events","type":"User","site_admin":false},"body":"#### Update the Assign Points algorithm to apply:\r\n1. Just on the tasks which are marked done at the time of re-sync.\r\n2. When a task is marked done by the user (asynchronously).","created_at":"2018-08-11T06:21:39Z","updated_at":"2018-08-28T10:38:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79aaca13a2dea26fe84d2a37399fe88961ec89f0","assignee":{"login":"himanshu-garg-165","id":20516173,"node_id":"MDQ6VXNlcjIwNTE2MTcz","avatar_url":"https://avatars3.githubusercontent.com/u/20516173?v=4","gravatar_id":"","url":"https://api.github.com/users/himanshu-garg-165","html_url":"https://github.com/himanshu-garg-165","followers_url":"https://api.github.com/users/himanshu-garg-165/followers","following_url":"https://api.github.com/users/himanshu-garg-165/following{/other_user}","gists_url":"https://api.github.com/users/himanshu-garg-165/gists{/gist_id}","starred_url":"https://api.github.com/users/himanshu-garg-165/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himanshu-garg-165/subscriptions","organizations_url":"https://api.github.com/users/himanshu-garg-165/orgs","repos_url":"https://api.github.com/users/himanshu-garg-165/repos","events_url":"https://api.github.com/users/himanshu-garg-165/events{/privacy}","received_events_url":"https://api.github.com/users/himanshu-garg-165/received_events","type":"User","site_admin":false},"assignees":[{"login":"himanshu-garg-165","id":20516173,"node_id":"MDQ6VXNlcjIwNTE2MTcz","avatar_url":"https://avatars3.githubusercontent.com/u/20516173?v=4","gravatar_id":"","url":"https://api.github.com/users/himanshu-garg-165","html_url":"https://github.com/himanshu-garg-165","followers_url":"https://api.github.com/users/himanshu-garg-165/followers","following_url":"https://api.github.com/users/himanshu-garg-165/following{/other_user}","gists_url":"https://api.github.com/users/himanshu-garg-165/gists{/gist_id}","starred_url":"https://api.github.com/users/himanshu-garg-165/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himanshu-garg-165/subscriptions","organizations_url":"https://api.github.com/users/himanshu-garg-165/orgs","repos_url":"https://api.github.com/users/himanshu-garg-165/repos","events_url":"https://api.github.com/users/himanshu-garg-165/events{/privacy}","received_events_url":"https://api.github.com/users/himanshu-garg-165/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"ayadav","id":154998,"node_id":"MDQ6VXNlcjE1NDk5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/154998?v=4","gravatar_id":"","url":"https://api.github.com/users/ayadav","html_url":"https://github.com/ayadav","followers_url":"https://api.github.com/users/ayadav/followers","following_url":"https://api.github.com/users/ayadav/following{/other_user}","gists_url":"https://api.github.com/users/ayadav/gists{/gist_id}","starred_url":"https://api.github.com/users/ayadav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayadav/subscriptions","organizations_url":"https://api.github.com/users/ayadav/orgs","repos_url":"https://api.github.com/users/ayadav/repos","events_url":"https://api.github.com/users/ayadav/events{/privacy}","received_events_url":"https://api.github.com/users/ayadav/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/160/commits","review_comments_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/160/comments","review_comment_url":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/issues/160/comments","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/00c98ee36faf6a57010c1a846ac0c953609cf2c2","head":{"label":"iReflect:hg_IR-294_assign_points","ref":"hg_IR-294_assign_points","sha":"00c98ee36faf6a57010c1a846ac0c953609cf2c2","user":{"login":"iReflect","id":33116450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTE2NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"repo":{"id":108380183,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgzODAxODM=","name":"reflect-app","full_name":"iReflect/reflect-app","owner":{"login":"iReflect","id":33116450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTE2NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iReflect/reflect-app","description":null,"fork":false,"url":"https://api.github.com/repos/iReflect/reflect-app","forks_url":"https://api.github.com/repos/iReflect/reflect-app/forks","keys_url":"https://api.github.com/repos/iReflect/reflect-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iReflect/reflect-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iReflect/reflect-app/teams","hooks_url":"https://api.github.com/repos/iReflect/reflect-app/hooks","issue_events_url":"https://api.github.com/repos/iReflect/reflect-app/issues/events{/number}","events_url":"https://api.github.com/repos/iReflect/reflect-app/events","assignees_url":"https://api.github.com/repos/iReflect/reflect-app/assignees{/user}","branches_url":"https://api.github.com/repos/iReflect/reflect-app/branches{/branch}","tags_url":"https://api.github.com/repos/iReflect/reflect-app/tags","blobs_url":"https://api.github.com/repos/iReflect/reflect-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iReflect/reflect-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iReflect/reflect-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/iReflect/reflect-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/{sha}","languages_url":"https://api.github.com/repos/iReflect/reflect-app/languages","stargazers_url":"https://api.github.com/repos/iReflect/reflect-app/stargazers","contributors_url":"https://api.github.com/repos/iReflect/reflect-app/contributors","subscribers_url":"https://api.github.com/repos/iReflect/reflect-app/subscribers","subscription_url":"https://api.github.com/repos/iReflect/reflect-app/subscription","commits_url":"https://api.github.com/repos/iReflect/reflect-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/iReflect/reflect-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/iReflect/reflect-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/iReflect/reflect-app/contents/{+path}","compare_url":"https://api.github.com/repos/iReflect/reflect-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iReflect/reflect-app/merges","archive_url":"https://api.github.com/repos/iReflect/reflect-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iReflect/reflect-app/downloads","issues_url":"https://api.github.com/repos/iReflect/reflect-app/issues{/number}","pulls_url":"https://api.github.com/repos/iReflect/reflect-app/pulls{/number}","milestones_url":"https://api.github.com/repos/iReflect/reflect-app/milestones{/number}","notifications_url":"https://api.github.com/repos/iReflect/reflect-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iReflect/reflect-app/labels{/name}","releases_url":"https://api.github.com/repos/iReflect/reflect-app/releases{/id}","deployments_url":"https://api.github.com/repos/iReflect/reflect-app/deployments","created_at":"2017-10-26T08:01:46Z","updated_at":"2018-08-24T06:33:05Z","pushed_at":"2018-08-28T10:23:14Z","git_url":"git://github.com/iReflect/reflect-app.git","ssh_url":"git@github.com:iReflect/reflect-app.git","clone_url":"https://github.com/iReflect/reflect-app.git","svn_url":"https://github.com/iReflect/reflect-app","homepage":null,"size":470,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":3,"watchers":5,"default_branch":"master"}},"base":{"label":"iReflect:master","ref":"master","sha":"f75f0384a9d1c02e184e793a42cf207ebf576f59","user":{"login":"iReflect","id":33116450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTE2NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"repo":{"id":108380183,"node_id":"MDEwOlJlcG9zaXRvcnkxMDgzODAxODM=","name":"reflect-app","full_name":"iReflect/reflect-app","owner":{"login":"iReflect","id":33116450,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMzMTE2NDUw","avatar_url":"https://avatars3.githubusercontent.com/u/33116450?v=4","gravatar_id":"","url":"https://api.github.com/users/iReflect","html_url":"https://github.com/iReflect","followers_url":"https://api.github.com/users/iReflect/followers","following_url":"https://api.github.com/users/iReflect/following{/other_user}","gists_url":"https://api.github.com/users/iReflect/gists{/gist_id}","starred_url":"https://api.github.com/users/iReflect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iReflect/subscriptions","organizations_url":"https://api.github.com/users/iReflect/orgs","repos_url":"https://api.github.com/users/iReflect/repos","events_url":"https://api.github.com/users/iReflect/events{/privacy}","received_events_url":"https://api.github.com/users/iReflect/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iReflect/reflect-app","description":null,"fork":false,"url":"https://api.github.com/repos/iReflect/reflect-app","forks_url":"https://api.github.com/repos/iReflect/reflect-app/forks","keys_url":"https://api.github.com/repos/iReflect/reflect-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iReflect/reflect-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iReflect/reflect-app/teams","hooks_url":"https://api.github.com/repos/iReflect/reflect-app/hooks","issue_events_url":"https://api.github.com/repos/iReflect/reflect-app/issues/events{/number}","events_url":"https://api.github.com/repos/iReflect/reflect-app/events","assignees_url":"https://api.github.com/repos/iReflect/reflect-app/assignees{/user}","branches_url":"https://api.github.com/repos/iReflect/reflect-app/branches{/branch}","tags_url":"https://api.github.com/repos/iReflect/reflect-app/tags","blobs_url":"https://api.github.com/repos/iReflect/reflect-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iReflect/reflect-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iReflect/reflect-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/iReflect/reflect-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iReflect/reflect-app/statuses/{sha}","languages_url":"https://api.github.com/repos/iReflect/reflect-app/languages","stargazers_url":"https://api.github.com/repos/iReflect/reflect-app/stargazers","contributors_url":"https://api.github.com/repos/iReflect/reflect-app/contributors","subscribers_url":"https://api.github.com/repos/iReflect/reflect-app/subscribers","subscription_url":"https://api.github.com/repos/iReflect/reflect-app/subscription","commits_url":"https://api.github.com/repos/iReflect/reflect-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/iReflect/reflect-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/iReflect/reflect-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/iReflect/reflect-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/iReflect/reflect-app/contents/{+path}","compare_url":"https://api.github.com/repos/iReflect/reflect-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iReflect/reflect-app/merges","archive_url":"https://api.github.com/repos/iReflect/reflect-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iReflect/reflect-app/downloads","issues_url":"https://api.github.com/repos/iReflect/reflect-app/issues{/number}","pulls_url":"https://api.github.com/repos/iReflect/reflect-app/pulls{/number}","milestones_url":"https://api.github.com/repos/iReflect/reflect-app/milestones{/number}","notifications_url":"https://api.github.com/repos/iReflect/reflect-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iReflect/reflect-app/labels{/name}","releases_url":"https://api.github.com/repos/iReflect/reflect-app/releases{/id}","deployments_url":"https://api.github.com/repos/iReflect/reflect-app/deployments","created_at":"2017-10-26T08:01:46Z","updated_at":"2018-08-24T06:33:05Z","pushed_at":"2018-08-28T10:23:14Z","git_url":"git://github.com/iReflect/reflect-app.git","ssh_url":"git@github.com:iReflect/reflect-app.git","clone_url":"https://github.com/iReflect/reflect-app.git","svn_url":"https://github.com/iReflect/reflect-app","homepage":null,"size":470,"stargazers_count":5,"watchers_count":5,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":2,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/160"},"html":{"href":"https://github.com/iReflect/reflect-app/pull/160"},"issue":{"href":"https://api.github.com/repos/iReflect/reflect-app/issues/160"},"comments":{"href":"https://api.github.com/repos/iReflect/reflect-app/issues/160/comments"},"review_comments":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/160/comments"},"review_comment":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iReflect/reflect-app/pulls/160/commits"},"statuses":{"href":"https://api.github.com/repos/iReflect/reflect-app/statuses/00c98ee36faf6a57010c1a846ac0c953609cf2c2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"anmolghosh"}}