"To" field is empty

Infos:

  • Used Zammad version: 6.3.1-1729263800.69400098.jammy
  • Used Zammad installation type: package
  • Operating system: Ubuntu 22.04.5 LTS
  • Browser + version: Microsoft Edge for Business 130.0.2849.68 (Official build) (64-bit)

Expected behavior:

  • ticket is type of email
  • user presses reply to write response to customer
  • “To” field is automatically populated with email address of customer
  • user has not to write email address manually

Actual behavior:

  • ticket is type of email
  • user presses reply to write response to customer
  • “To” field is empty
  • user has to write email addres to “To” field manually

Steps to reproduce the behavior:

  • create ticket with API call
    {
    “title”: “Help me!”,
    “group”: “Servis”,
    “customer”: “david@example.com”,
    “article”: {
    “subject”: “My subject”,
    “body”: “I am a message!”,
    “type”: “email”,
    “internal”: false
    }
    }
  • ticket is created
  • user press reply bellow article
  • “To” field is empty
  • From address is email address of user, who token was used in HTTP Header of API call

Can you explain how we can create ticket through API in order user has not to fill “To” fill manually?

Thank you

Regards

Pavel

Have a look at the payloads in this documentation (articles are part of tickets so it’s condensed info…)

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

You’re missing meta attributes.