Question

Wrong/missing custom fields in API call

  • 19 December 2023
  • 3 replies
  • 23 views

Badge

When I call the /api/v2/tickets/<id> I do get back a field called custom_fields but they are not what I expect for that ticket type, any ideas what I’m doing wrong?


3 replies

Userlevel 7
Badge +13

When I call the /api/v2/tickets/<id> I do get back a field called custom_fields but they are not what I expect for that ticket type, any ideas what I’m doing wrong?

It should give back all of the custom fields. Do you use workspaces? 
Keep in minde you see ticket form fields you see. 

Badge

ah right it was custom fields on the service item (so visible via api/v2/tickets/<id>/requested_items

Userlevel 7
Badge +13

ah right it was custom fields on the service item (so visible via api/v2/tickets/<id>/requested_items

Yes to see SI fields you need to use the endpoint for SI. 

Reply