{"action":"created","issue":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/3648","repository_url":"https://api.github.com/repos/cockpit-project/cockpit","labels_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/3648/labels{/name}","comments_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/3648/comments","events_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/3648/events","html_url":"https://github.com/cockpit-project/cockpit/pull/3648","id":130320967,"number":3648,"title":"test: Use the REST engine in the sink for pull tasks.","user":{"login":"mvollmer","id":3228183,"avatar_url":"https://avatars.githubusercontent.com/u/3228183?v=3","gravatar_id":"","url":"https://api.github.com/users/mvollmer","html_url":"https://github.com/mvollmer","followers_url":"https://api.github.com/users/mvollmer/followers","following_url":"https://api.github.com/users/mvollmer/following{/other_user}","gists_url":"https://api.github.com/users/mvollmer/gists{/gist_id}","starred_url":"https://api.github.com/users/mvollmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvollmer/subscriptions","organizations_url":"https://api.github.com/users/mvollmer/orgs","repos_url":"https://api.github.com/users/mvollmer/repos","events_url":"https://api.github.com/users/mvollmer/events{/privacy}","received_events_url":"https://api.github.com/users/mvollmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cockpit-project/cockpit/labels/needswork","name":"needswork","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-01T10:25:17Z","updated_at":"2016-02-02T16:32:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cockpit-project/cockpit/pulls/3648","html_url":"https://github.com/cockpit-project/cockpit/pull/3648","diff_url":"https://github.com/cockpit-project/cockpit/pull/3648.diff","patch_url":"https://github.com/cockpit-project/cockpit/pull/3648.patch"},"body":"Depends on https://github.com/cockpit-project/cockpituous/pull/19"},"comment":{"url":"https://api.github.com/repos/cockpit-project/cockpit/issues/comments/178674816","html_url":"https://github.com/cockpit-project/cockpit/pull/3648#issuecomment-178674816","issue_url":"https://api.github.com/repos/cockpit-project/cockpit/issues/3648","id":178674816,"user":{"login":"stefwalter","id":795070,"avatar_url":"https://avatars.githubusercontent.com/u/795070?v=3","gravatar_id":"","url":"https://api.github.com/users/stefwalter","html_url":"https://github.com/stefwalter","followers_url":"https://api.github.com/users/stefwalter/followers","following_url":"https://api.github.com/users/stefwalter/following{/other_user}","gists_url":"https://api.github.com/users/stefwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/stefwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefwalter/subscriptions","organizations_url":"https://api.github.com/users/stefwalter/orgs","repos_url":"https://api.github.com/users/stefwalter/repos","events_url":"https://api.github.com/users/stefwalter/events{/privacy}","received_events_url":"https://api.github.com/users/stefwalter/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:32:12Z","updated_at":"2016-02-02T16:32:12Z","body":"I see this failure trying to run with this:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"sink\", line 316, in push\r\n    reporter.push(data)\r\n  File \"sink\", line 164, in push\r\n    result = self.req(token, method, resource, data)\r\n  File \"sink\", line 142, in req\r\n    response.status, response.reason, output.strip()))\r\nRuntimeError: Couldn't update GitHub: 422 Unprocessable Entity\r\n{\"message\":\"Validation Failed\",\"errors\":[{\"resource\":\"Status\",\"code\":\"custom\",\"field\":\"state\",\"message\":\"state is not included in the list\"}],\"documentation_url\":\"https://developer.github.com/v3/repos/statuses/#create-a-status\"}\r\n```"}}