{"action":"created","issue":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/701","repository_url":"https://api.github.com/repos/capitalone/Hygieia","labels_url":"https://api.github.com/repos/capitalone/Hygieia/issues/701/labels{/name}","comments_url":"https://api.github.com/repos/capitalone/Hygieia/issues/701/comments","events_url":"https://api.github.com/repos/capitalone/Hygieia/issues/701/events","html_url":"https://github.com/capitalone/Hygieia/issues/701","id":166016528,"number":701,"title":"Sonar Code Coverage is showing incorrect pie chart.","user":{"login":"raynaya","id":1515614,"avatar_url":"https://avatars.githubusercontent.com/u/1515614?v=3","gravatar_id":"","url":"https://api.github.com/users/raynaya","html_url":"https://github.com/raynaya","followers_url":"https://api.github.com/users/raynaya/followers","following_url":"https://api.github.com/users/raynaya/following{/other_user}","gists_url":"https://api.github.com/users/raynaya/gists{/gist_id}","starred_url":"https://api.github.com/users/raynaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raynaya/subscriptions","organizations_url":"https://api.github.com/users/raynaya/orgs","repos_url":"https://api.github.com/users/raynaya/repos","events_url":"https://api.github.com/users/raynaya/events{/privacy}","received_events_url":"https://api.github.com/users/raynaya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-18T04:18:37Z","updated_at":"2016-07-18T19:08:32Z","closed_at":null,"body":"The actual values from db \r\n\r\n```\r\n{\r\n\t\t\t\"name\" : \"coverage\",\r\n\t\t\t\"value\" : 96.5,\r\n\t\t\t\"formattedValue\" : \"96.5%\",\r\n\t\t\t\"status\" : \"Ok\"\r\n\t\t},\r\n```\r\n\r\nBut in the UI its showing 0% coverage. Is this a known issue ? "},"comment":{"url":"https://api.github.com/repos/capitalone/Hygieia/issues/comments/233427343","html_url":"https://github.com/capitalone/Hygieia/issues/701#issuecomment-233427343","issue_url":"https://api.github.com/repos/capitalone/Hygieia/issues/701","id":233427343,"user":{"login":"raynaya","id":1515614,"avatar_url":"https://avatars.githubusercontent.com/u/1515614?v=3","gravatar_id":"","url":"https://api.github.com/users/raynaya","html_url":"https://github.com/raynaya","followers_url":"https://api.github.com/users/raynaya/followers","following_url":"https://api.github.com/users/raynaya/following{/other_user}","gists_url":"https://api.github.com/users/raynaya/gists{/gist_id}","starred_url":"https://api.github.com/users/raynaya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raynaya/subscriptions","organizations_url":"https://api.github.com/users/raynaya/orgs","repos_url":"https://api.github.com/users/raynaya/repos","events_url":"https://api.github.com/users/raynaya/events{/privacy}","received_events_url":"https://api.github.com/users/raynaya/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T19:08:32Z","updated_at":"2016-07-18T19:08:32Z","body":"I found the issue by looking at different db entries. If it is  `\"name\" : \"coverage\" `we are not displaying it . If its `\"name\" : \"line_coverage\"` then it is displayed. Which is fine I guess. \r\n\r\nBut the real issue is once a projects sonar details are loaded in the db based on the metrics I had put in the properties file during the first run. Even if I change the property file to add new metrics at a later stage, its not loading the new metrics specified in the subsequent cron jobs."}}
{"actor":{"display_login":"raynaya"}}