- Used Zammad version: 6.3.1-1729263800.69400098
- Used Zammad installation type: source
- Operating system: MacOS 15.0.1, Windows 10
- Browser + version: Firefox 131.0.3, Chrome 130.0.6723.58
Hello, since we updated to the lastest zammad of 6.3 currently available I cannot change a ticket state (for existing tickets) to on of our custom ticket state while I can still see them in the object editor, in the overview configuration and when I create a new ticket.
The system was alreade rebooted, the command “zammad run rake zammad:searchindex:rebuild” was successful.
Loading production environment (Rails 7.0.8.5)
[1] pry(main)>
[2] pry(main)> Ticket::State.pluck(:id, :name)
=> [[2, "open"], [1, "new"], [3, "pending reminder"], [4, "closed"], [5, "merged"], [7, "pending close"], [8, "awaiting user info"], [9, "awaiting vendor feedback"]]
[3] pry(main)> 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)
[3] pry(main)> attribute = ObjectManager::Attribute.get( ::State.by_category(:viewable_agent_edit).pluck(:id)
object: 'Ticket', it]['ticket.customer'][:filter] = Ticket::State.by_category(:viewable_customer_edit).pluck(:id)
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_edit).pluck(:id)
attribute.screens[:edit]['ticket.customer'][:filter] = Ticket::State.by_category(:viewable_customer_edit).pluck(:id)
attribute.save!
=> true