Linking tickets via API does not accept ticket id as source

  • Used Zammad version: 5.0
  • Used Zammad installation type: package
  • Operating system: Debian 10
  • Browser + version: Chrome 99

Expected behavior:

  • When linking a ticket via api call, i want to use the referencing ticket id for “link_object_target” and “link_object_source”.

Actual behavior:

  • “link_object_source_number” has to be the ticker number, not the ticket id. This seems to be inconsequent, because all other parameters belonging to tickets in the links_controller have to be ticket id’s.

It works, if i change the corresponding line in links_controller.rb to use the id instead of the number for the “Ticket.find_by”-function.

The API received the ticket number.
I mean you can “hotfix” your installation to do what you expect, however, this is neither update save nor working as intended and bring other issues.

A bug report mentioning this thread on Github would be the way to go.
Making it “consistent” sounds like a reasonable thing.

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