Selfmade Status mark as closed

Hello together,

i got a problem with the (selfmade) status of the tickets

  • Used Zammad version: 5
  • Used Zammad installation type: source
  • Operating system: ubuntu 20.4
  • Browser + version: Firefox

Expected behavior:

  • See only open Tickets in the customer profile in open tickets exclude some selfmade status
  • See all closed Tickets include some selfmade status

Actual behavior:

  • in the customer profile, we can see open Tickets and closed Tickets. We have some selfmade status called “abgerechnet” or “ohne berechnung”. This status are for closed tickets too. In the customer profile they are listed under the open tickets.

*How can i change the filter in the query of the profiles? Or can i flag the status as “closed” too?

Steps to reproduce the behavior:

  • make a new ticket status that should be used for closed tickets.
  • use it for a closed ticket
  • look in the customer profile
    Screenshot 2022-01-06 094411

Regards

Virtex

You may want to use the correct ticket state types as mentioned in our documentation:
https://docs.zammad.org/en/latest/admin/console/working-on-tickets.html#get-ticket-state-types

You can fix that issue for existing states by using the following command within a rails console:
Ticket::State.find_by(name: '<my broken state name>').update(state_type: Ticket::StateType.find_by(name: 'open'))

Don’t forget to apply the changes according to the documentation:
https://docs.zammad.org/en/latest/admin/console/working-on-tickets.html#make-new-states-available-to-ui