- Used Zammad version: 6.4.1
- Used Zammad installation type: source
Expected behavior:
- I’d like to analyze which tickets were closed before SLA escalation.
- I expect to find a stable field in the database (e.g.
escalation_at
) that I can use to compare withclosed_at
. - Ideally,
escalation_at
would retain its value even after the ticket is closed, so I can use it for reporting.
Actual behavior:
- The
escalation_at
field in thetickets
table gets reset (set to NULL) when a ticket is closed. - This makes it difficult to determine whether a ticket was resolved before escalation.
- Other fields like
escalation_calculation
exist, but it’s unclear how to interpret them for historical analysis.
Steps to reproduce the behavior:
- Create and apply an SLA to a ticket with escalation rules (e.g. first response in 60 minutes).
- Check the ticket’s
escalation_at
value — it shows the expected UTC timestamp. - Close the ticket.
- Re-check the
escalation_at
field — it is now NULL. - This removes the ability to determine whether the ticket breached SLA or not, post-closure.
Additional context:
- Are there any other fields or recommended approaches to track SLA escalation history in the database?
- Is it possible to prevent
escalation_at
from being reset on closure, or persist it in a custom field/workflow? - My goal is to produce external reports via SQL or BI tools that can verify if a ticket was resolved before escalation.
Thanks in advance for your support!