Get parent and sub ticket data in ticket api

Hi,
I have created new sub ticket of a ticket in zammad. I am able to get reference links to parent ticket from sub-ticket in web view but in ticket get API i did not get any reference attribute to parent or sub-ticket.

So my question is:-

  • Is there any way to get reference(ticket_number) to sub tickets of a ticket using API.

Thanks for your help!!

Hi!

Check out /api/v1/links and related source files: app/controllers/links_controller.rb, spec/requests/links_spec.rb.

I’ve managed to request a linked tickets through the rails console by using Link.where(link_object_source_value: <ticket ID>).

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.