{"action":"closed","issue":{"url":"https://api.github.com/repos/policycompass/policycompass/issues/314","labels_url":"https://api.github.com/repos/policycompass/policycompass/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/policycompass/policycompass/issues/314/comments","events_url":"https://api.github.com/repos/policycompass/policycompass/issues/314/events","html_url":"https://github.com/policycompass/policycompass/issues/314","id":112994772,"number":314,"title":"Error creating a metric","user":{"login":"mmilaprat","id":6602727,"avatar_url":"https://avatars.githubusercontent.com/u/6602727?v=3","gravatar_id":"","url":"https://api.github.com/users/mmilaprat","html_url":"https://github.com/mmilaprat","followers_url":"https://api.github.com/users/mmilaprat/followers","following_url":"https://api.github.com/users/mmilaprat/following{/other_user}","gists_url":"https://api.github.com/users/mmilaprat/gists{/gist_id}","starred_url":"https://api.github.com/users/mmilaprat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmilaprat/subscriptions","organizations_url":"https://api.github.com/users/mmilaprat/orgs","repos_url":"https://api.github.com/users/mmilaprat/repos","events_url":"https://api.github.com/users/mmilaprat/events{/privacy}","received_events_url":"https://api.github.com/users/mmilaprat/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/policycompass/policycompass/labels/METRICS","name":"METRICS","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"slomo","id":141032,"avatar_url":"https://avatars.githubusercontent.com/u/141032?v=3","gravatar_id":"","url":"https://api.github.com/users/slomo","html_url":"https://github.com/slomo","followers_url":"https://api.github.com/users/slomo/followers","following_url":"https://api.github.com/users/slomo/following{/other_user}","gists_url":"https://api.github.com/users/slomo/gists{/gist_id}","starred_url":"https://api.github.com/users/slomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slomo/subscriptions","organizations_url":"https://api.github.com/users/slomo/orgs","repos_url":"https://api.github.com/users/slomo/repos","events_url":"https://api.github.com/users/slomo/events{/privacy}","received_events_url":"https://api.github.com/users/slomo/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-23T10:34:35Z","updated_at":"2015-10-26T11:24:49Z","closed_at":"2015-10-26T11:24:49Z","body":"When I try to save a metric I get an error in the javascript console.\r\n\r\nPOST https://services-stage.policycompass.eu/api/v1/metricsmanager/metrics 400 (BAD REQUEST)"}}