Files
Zammad/README.md

703 B

Zammad Reports (Flask)

Quickstart

  • Create and activate venv (optional).
  • Install deps: pip install -r requirements.txt
  • Configure env variables (recommended):
  • Run: python app.py

Environment

  • FLASK_SECRET_KEY: optional, for sessions/flash.
  • ZAMMAD_URL: base URL of Zammad (e.g. https://task.4mont.ru).
  • ZAMMAD_TOKEN: personal access token with API rights.

Features

  • Totals: total, open vs closed.
  • Grouping: by agent (owner), by group, by state, by priority.
  • Trend: tickets per day in range.
  • HTML charts (bar/line) with Chart.js + Bootstrap UI.
  • JSON API: /api/report.json aggregates everything for the period.