Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link one ticket with an other #39

Closed
mrohnstock opened this issue Apr 15, 2021 · 2 comments
Closed

Link one ticket with an other #39

mrohnstock opened this issue Apr 15, 2021 · 2 comments

Comments

@mrohnstock
Copy link

(excuse me, if this is the wrong place to ask for such things, feel free to close the ticket if this isn't right here)

Hi, I'm already working with this client since a few month, but am missing one feature:

Is there a way to see linked tickets and link one ticket with an other through API?
Looks like this is only possible through zammad directly? I can't find anything in the docs, too, so I guess this isn't implemented in zammad.

I'm talking about this feature on right menu in zammad:

image

If I link an ticket with an other, there is no extra info in the object received from the API in any of these tickets.

Thanks!

@thorsteneckel
Copy link

Hi @mrohnstock - you are right. The API clients currently don't support the (generic) link-ing endpoints of the Zammad REST API. What you can do is to quert the REST API manually:

GET /api/v1/links?link_object=Ticket&link_object_value=*ticket_id*

POST /api/v1/links/add?link_type=normal&link_object_source=Ticket&link_object_source_number=*source_ticket_number*&link_object_target=Ticket&link_object_target_value=*target_ticket_id*

Please note the ticket_NUMBER and ticket_ID difference for the /links/add endpoint.

A contribution to the API client for supporting this functionality is highly welcome 👋

@thorsteneckel thorsteneckel removed their assignment Apr 16, 2021
@mgruner
Copy link
Collaborator

mgruner commented Apr 14, 2022

@mrohnstock please feel free to take feature requests to https://community.zammad.org/. Thank you!

@mgruner mgruner closed this as completed Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants