{"action":"closed","issue":{"url":"https://api.github.com/repos/facetoe/zenpy/issues/78","repository_url":"https://api.github.com/repos/facetoe/zenpy","labels_url":"https://api.github.com/repos/facetoe/zenpy/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/facetoe/zenpy/issues/78/comments","events_url":"https://api.github.com/repos/facetoe/zenpy/issues/78/events","html_url":"https://github.com/facetoe/zenpy/issues/78","id":185384570,"number":78,"title":"Create ticket with new requester","user":{"login":"evilskater","id":3930500,"avatar_url":"https://avatars.githubusercontent.com/u/3930500?v=3","gravatar_id":"","url":"https://api.github.com/users/evilskater","html_url":"https://github.com/evilskater","followers_url":"https://api.github.com/users/evilskater/followers","following_url":"https://api.github.com/users/evilskater/following{/other_user}","gists_url":"https://api.github.com/users/evilskater/gists{/gist_id}","starred_url":"https://api.github.com/users/evilskater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evilskater/subscriptions","organizations_url":"https://api.github.com/users/evilskater/orgs","repos_url":"https://api.github.com/users/evilskater/repos","events_url":"https://api.github.com/users/evilskater/events{/privacy}","received_events_url":"https://api.github.com/users/evilskater/received_events","type":"User","site_admin":false},"labels":[{"id":451308608,"url":"https://api.github.com/repos/facetoe/zenpy/labels/document%20this","name":"document this","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-26T12:52:30Z","updated_at":"2016-10-30T13:02:25Z","closed_at":"2016-10-30T13:02:25Z","body":"I'm getting this error while I'm creating a ticket with a new requester\r\n\r\n```\r\n>>> requester = { \"name\": \"foo\", \"email\": \"email@foo.bar\" }\r\n>>> new_ticket = Ticket(subject=subject, description=description, requester=requester)\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"/usr/local/lib/python2.7/dist-packages/zenpy/lib/api_objects.py\", line 3376, in __init__\r\n    setattr(self, key, value)\r\n  File \"/usr/local/lib/python2.7/dist-packages/zenpy/lib/api_objects.py\", line 3563, in requester\r\n    self.requester_id = requester.id\r\nAttributeError: 'dict' object has no attribute 'id'\r\n```\r\n\r\nI checked the API and there is no object named Requester... only a property of Request.\r\nAm I doing something wrong or there is no support for this action at the moment?\r\n\r\nPS: It works via Zendesk Rest API:\r\nhttps://developer.zendesk.com/rest_api/docs/core/tickets#creating-a-ticket-with-a-new-requester"}}
{"actor":{"display_login":"facetoe"}}