API: Create Ticket with multiple articles

  • Used Zammad version: 5.3.0
  • Used Zammad installation type: package
  • Operating system: Ubuntu 20.04

Hello everyone,

as we are evaluating new ticket systems atm, I’m currently checking the use of the API to move tickets from the old system to the new one.

Creating tickets in zammad based on our existing data is no problem and works like expected. Pretty fine.

My Question (as I didn’t manage to find out yet):

Is it possible to add multiple articles directly upon ticket creation? Like Adding another “article”: {} - block to the request. (and maybe you can provide an example; I only managed to create a ticket with one article at a time)

Or do I have to append all of the rest of articles to the tickets via ticket_article-endpoint?

Thanks in advance for your help!

We had to perform our API import using a 2 step process - first create the ticket, then create all the articles.

From a quick review of the API docs, it looks like this is still the way to do it, unfortunately no way to spin up a bunch of articles during ticket creation.

Sounds to me like you’re on the right track :+1:

https://docs.zammad.org/en/latest/api/ticket/index.html#create

https://docs.zammad.org/en/latest/api/ticket/articles.html

1 Like

Thanks for your answer!

Well okay, I thought I maybe had overlooked something.

We will find a workraound then :slight_smile:

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