Infos:
- Used Zammad version: 6.4.2
- Used Zammad installation type: docker-compose
- Operating system: Ubuntu 24.04.3 LTS
- Browser + version: Zammad API Python
Expected behavior:
- Reopen the ticket (change state to work in progress) like it’s done when commenting via the Zammad web interface.
Actual behavior:
- Comment is added correctly, but the ticket is not reopened
Steps to reproduce the behavior:
Example request:
- Create a ticket
- Close the ticket
- Add a comment via the REST API (/api/v1/tickets or /api/v1/ticket_articles endpoint)
Example request (via /api/v1/ticket):
send: b’PUT /api/v1/tickets/45708?all=true HTTP/1.1\r\nHost: zammad-staging.ipp.mpg.de\r\nUser-Agent: Zammad API Python\r\nAccept-Encoding: gzip, deflate\r\nAccept: /\r\nConnection: keep-alive\r\nAuthorization: Token token=xxxxx\r\nX-On-Behalf-Of: alenz-test\r\nContent-Length: 225\r\nContent-Type: application/json\r\n\r\n’
send: b’{“article”: {“ticket_id”: 45708, “content_type”: “text/html”, “internal”: false, “from”: “alenz test ”, “body”: “Test
”, “type_id”: 11, “sender_id”: 2, “attachments”: }, “updated_at”: “2025-10-28T16:59:10.274078”}’
reply: ‘HTTP/1.1 200 OK\r\n’