New ticket states are not visible

Thank you very much for this information!

I recreated/updated the ticket states like this:
Ticket::State.create_or_update( name: 'waiting for customer', state_type: Ticket::StateType.find_by(name: 'waiting for customer'), ignore_escalation: true, created_by_id: 1, updated_by_id: 1, )

Ticket::State.create_or_update( name: 'open customerreply', state_type: Ticket::StateType.find_by(name: 'open customerreply'), ignore_escalation: false, created_by_id: 1, updated_by_id: 1, )

And then I run the following commands (from the documentation) in the console:
attribute = ObjectManager::Attribute.get( object: 'Ticket', name: 'state_id', ) attribute.data_option[:filter] = Ticket::State.by_category(:viewable).pluck(:id) attribute.screens[:create_middle]['ticket.agent'][:filter] = Ticket::State.by_category(:viewable_agent_new).pluck(:id) attribute.screens[:create_middle]['ticket.customer'][:filter] = Ticket::State.by_category(:viewable_customer_new).pluck(:id) attribute.screens[:edit]['ticket.agent'][:filter] = Ticket::State.by_category(:viewable_agent_new).pluck(:id) attribute.screens[:edit]['ticket.customer'][:filter] = Ticket::State.by_category(:viewable_customer_edit).pluck(:id) attribute.save!

Is this correct? Cause the states are still not visible - even after a restart :see_no_evil: