Infos:
- Used Zammad version: Version 7.0.1-1780838746.61708c75.bookworm
- Used Zammad installation type: Debian package via apt
- Operating system: Debian 12
- Browser + version: Firefox 151.0.3
I have a macro that assigns a ticket to a new group and, among other things, sets the status of the ticket back to “new”. That worked so far. Now the following error message comes when running the macro:
![]()
The following error occurs in the log:
I, [2026-06-09T08:13:31.230624#1371276-1503280] INFO -- : Started PUT "/api/v1/tickets/195290?all=true" for 172.27.*.* at 2026-06-09 08:13:31 +0200
I, [2026-06-09T08:13:31.233474#1371276-1503280] INFO -- : Processing by TicketsController#update as JSON
I, [2026-06-09T08:13:31.233526#1371276-1503280] INFO -- : Parameters: {"number" => "99194864", "title" => "Testsubject", "group_id" => "14", "owner_id" => 1, "customer_id" => 62018, "state_id" => "1", "priority_id" => "2", "updated_at" => "2026-06-09T06:08:41.742Z", "preferences" => {}, "organization_id" => 140030, "pending_time" => nil, "id" => "195290", "all" => "true"}
E, [2026-06-09T08:13:31.269546#1371276-1503280] ERROR -- : Invalid value '1' for field 'state_id'! (Exceptions::ApplicationModel)
app/models/concerns/checks_core_workflow.rb:53:in 'block in ChecksCoreWorkflow#check_restrict_values'
app/models/concerns/checks_core_workflow.rb:48:in 'Hash#each_key'
app/models/concerns/checks_core_workflow.rb:48:in 'ChecksCoreWorkflow#check_restrict_values'
app/models/concerns/checks_core_workflow.rb:43:in 'ChecksCoreWorkflow#validate_workflows'
app/controllers/tickets_controller.rb:279:in 'block in TicketsController#update'
app/controllers/tickets_controller.rb:264:in 'TicketsController#update'
app/controllers/application_controller/handles_transitions.rb:16:in 'ApplicationController::HandlesTransitions#handle_transaction'
I, [2026-06-09T08:13:31.270360#1371276-1503280] INFO -- : Completed 422 Unprocessable Entity in 37ms (Views: 0.0ms | ActiveRecord: 8.2ms (69 queries, 17 cached) | GC: 1.6ms)
If I place the macro on “open” instead of “new”, it works.
If I want to change the status manually in the ticket, I can’t select the status “new” in the dropdown. (I don’t know when this behavior has changed).
In the dropdown of the macro, however, I can still select the status “new”. But that’s not how it works. I suppose it’s changed sometime? Unfortunately, I haven’t found anything in the Commits on github? (Or bad looking?)

