zammad/zammad-api-client-php

Cannot access custom ticket attribute

Jaykju opened this issue · 1 comments

Hello,
I am currently trying to write a php application that uses the data from the Zammad API. To do this I added a custom field to store some extra data. When I manually access the tickets using the URL the field (finished) is present:

{
    "id": 11,
    "group_id": 1,
    "priority_id": 2,
    "state_id": 4,
    ...
    "created_at": "2018-05-04T14:11:40.487Z",
    "updated_at": "2018-05-11T13:04:24.610Z",
    "finished": false
  }

but when I get the data from within the PHP client the new field is not stored in the values.
Am I doing this wrong or are custom fields for some reason not included in the php Client? This kind of confused me because I was not able to find anything that would indicate this behaviour in the sources.

I am not quite sure why, but it works now. I think a server restart might have fixed the issue.