How to create a new state ticket?

Hello everyone,
I want to create a new state like “closed”,
I’m using the API to add state for a ticket, and I got a good response from the system.
curl --insecure -u email:password -H "Content-Type:application/json" --data "{\"name\": \"False Positive\",\"state_type_id\": 6,\"next_state_id\": null,\"ignore_escalation\": true,\"active\": true,\"note\": null}"

However, It’s doesn’t add to my Zammad system.

How can I see the new state “False Positive” ?

You might want to use the console to do so:

The main issue proberbly is that you can’t make the states available via API.

1 Like