{"action":"opened","issue":{"url":"https://api.github.com/repos/cmheisel/project-status-dashboard/issues/28","repository_url":"https://api.github.com/repos/cmheisel/project-status-dashboard","labels_url":"https://api.github.com/repos/cmheisel/project-status-dashboard/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/cmheisel/project-status-dashboard/issues/28/comments","events_url":"https://api.github.com/repos/cmheisel/project-status-dashboard/issues/28/events","html_url":"https://github.com/cmheisel/project-status-dashboard/issues/28","id":170911365,"number":28,"title":"Entire update job fails if one filter has a zero-length list of tickets","user":{"login":"cmheisel","id":34786,"avatar_url":"https://avatars.githubusercontent.com/u/34786?v=3","gravatar_id":"","url":"https://api.github.com/users/cmheisel","html_url":"https://github.com/cmheisel","followers_url":"https://api.github.com/users/cmheisel/followers","following_url":"https://api.github.com/users/cmheisel/following{/other_user}","gists_url":"https://api.github.com/users/cmheisel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmheisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmheisel/subscriptions","organizations_url":"https://api.github.com/users/cmheisel/orgs","repos_url":"https://api.github.com/users/cmheisel/repos","events_url":"https://api.github.com/users/cmheisel/events{/privacy}","received_events_url":"https://api.github.com/users/cmheisel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cmheisel/project-status-dashboard/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"cmheisel","id":34786,"avatar_url":"https://avatars.githubusercontent.com/u/34786?v=3","gravatar_id":"","url":"https://api.github.com/users/cmheisel","html_url":"https://github.com/cmheisel","followers_url":"https://api.github.com/users/cmheisel/followers","following_url":"https://api.github.com/users/cmheisel/following{/other_user}","gists_url":"https://api.github.com/users/cmheisel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmheisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmheisel/subscriptions","organizations_url":"https://api.github.com/users/cmheisel/orgs","repos_url":"https://api.github.com/users/cmheisel/repos","events_url":"https://api.github.com/users/cmheisel/events{/privacy}","received_events_url":"https://api.github.com/users/cmheisel/received_events","type":"User","site_admin":false},"assignees":[{"login":"cmheisel","id":34786,"avatar_url":"https://avatars.githubusercontent.com/u/34786?v=3","gravatar_id":"","url":"https://api.github.com/users/cmheisel","html_url":"https://github.com/cmheisel","followers_url":"https://api.github.com/users/cmheisel/followers","following_url":"https://api.github.com/users/cmheisel/following{/other_user}","gists_url":"https://api.github.com/users/cmheisel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmheisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmheisel/subscriptions","organizations_url":"https://api.github.com/users/cmheisel/orgs","repos_url":"https://api.github.com/users/cmheisel/repos","events_url":"https://api.github.com/users/cmheisel/events{/privacy}","received_events_url":"https://api.github.com/users/cmheisel/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/cmheisel/project-status-dashboard/milestones/1","html_url":"https://github.com/cmheisel/project-status-dashboard/milestones/1.0","labels_url":"https://api.github.com/repos/cmheisel/project-status-dashboard/milestones/1/labels","id":1876845,"number":1,"title":"1.0","description":"","creator":{"login":"cmheisel","id":34786,"avatar_url":"https://avatars.githubusercontent.com/u/34786?v=3","gravatar_id":"","url":"https://api.github.com/users/cmheisel","html_url":"https://github.com/cmheisel","followers_url":"https://api.github.com/users/cmheisel/followers","following_url":"https://api.github.com/users/cmheisel/following{/other_user}","gists_url":"https://api.github.com/users/cmheisel/gists{/gist_id}","starred_url":"https://api.github.com/users/cmheisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmheisel/subscriptions","organizations_url":"https://api.github.com/users/cmheisel/orgs","repos_url":"https://api.github.com/users/cmheisel/repos","events_url":"https://api.github.com/users/cmheisel/events{/privacy}","received_events_url":"https://api.github.com/users/cmheisel/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":8,"state":"open","created_at":"2016-07-11T19:58:40Z","updated_at":"2016-08-12T16:40:07Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-12T16:40:07Z","updated_at":"2016-08-12T16:40:07Z","closed_at":null,"body":"Steps to replicate\r\n1. Add a _filter_id for a filter that has 0 tickets in it\r\n2. Add an additional _filter_id row for a filter that has 1 or more tickets in it\r\n3. The _filter_id with 1+ tickets will never be processed, the update process errors with:\r\n```\r\n  File \"/app/dashboard/services/jira.py\", line 87, in summarize_results\r\n    summary['pct_complete'] = summary['complete'] / float(total)\r\nZeroDivisionError: float division by zero\r\n```"}}
{"actor":{"display_login":"cmheisel"}}