Calculate days outstanding


  • Used Zammad version: 3.5
  • Used Zammad installation source: (source, package, …) Source
  • Operating system: Centos 7
  • Browser + version: Various

Expected behavior:

I am trying to find a way to show per ticket, wat the days outstanding is per ticket. In other words, the number of days between today’s date and the date the call was initially created. Is there a way to do this, as this is a very critical requirement for us.

Actual behavior:

Steps to reproduce the behavior:


I’m sorry, but I’m afraid this is a functioanlity Zammad cannot offer at this moment.

if you’re oke with using an SQL query you could hook something up like this, and for example display it in grafana;

tickets.created_at AS “create time”,
EXTRACT(EPOCH FROM current_timestamp-tickets.created_at)/86400 as days_ago,
FROM tickets
inner join users on (
$__timeFilter(tickets.created_at) and tickets.state_id!=4
ORDER BY tickets.created_at asc

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