Custom ticket state not avaiable after update to 6.3

  • 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

I don’t know if it’s a problem but one thing that I noticed in your screenshots and that I would do differently is the ticket state type. You chose “new” for your custom states but I think “open” is the more appropriate type for this. Maybe you could try to change this, restart Zammad, and see if they work again. In my mind “new” is reserved for tickets that have never been worked on by an agent.

Thank you, that has fixed the issue! Weird that it worked before, we havent changed anything, but thats our daily business :smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.