Recurring Ticket Templates
Automated periodic creation of service requests based on configurable templates with placeholder tokens and auto-resolve.
Automaticke periodicke zakladani pozadavku na zaklade konfigurovatelnych sablon s tokeny a automatickym resenim.
Description
Popis
Extension for automated periodic creation of service requests (UserRequest) based on configurable templates. A background process runs every hour, checks active templates, auto-resolves previous tickets, and creates new ones with rendered titles using placeholder tokens.
Rozsireni pro automaticke periodicke zakladani pozadavku (UserRequest) na zaklade konfigurovatelnych sablon. Background process bezi kazdou hodinu, kontroluje aktivni sablony, automaticky resi predchozi tikety a vytvari nove s renderovanymi nazvy pomoci tokenu.
Features
Funkce
- Configurable recurrence (weekly, biweekly, monthly, custom N days)
- Placeholder tokens (year, month, month_name_cs/en, week, date, quarter, period_num)
- Auto-resolve of previous ticket with configurable resolution code
- Optional initial stimulus application (e.g.
ev_pending) - Full EN/CS localization
- Admin menu for template management
- Konfigurovatelna periodicita (tydenni, dvoutydenni, mesicni, vlastni N dni)
- Tokeny pro nahrazovani (year, month, month_name_cs/en, week, date, quarter, period_num)
- Automaticke reseni predchoziho tiketu s nastavitelnym kodem reseni
- Volitelne aplikovani pocatecniho stimulu (napr.
ev_pending) - Plna EN/CS lokalizace
- Admin menu pro spravu sablon
Placeholder Tokens
Tokeny pro nahrazovani
| Token | Description | Popis | Example | Priklad |
|---|---|---|---|---|
{{year}} | 4-digit year | 4-ciselny rok | 2026 | |
{{month}} | 2-digit month | 2-ciselny mesic | 03 | |
{{month_name_cs}} | Czech month name | Cesky nazev mesice | Brezen | |
{{month_name_en}} | English month name | Anglicky nazev mesice | March | |
{{week}} | ISO week number | ISO cislo tydne | 10 | |
{{date}} | Full date YYYY-MM-DD | Plne datum YYYY-MM-DD | 2026-03-02 | |
{{quarter}} | Quarter | Kvartal | Q1 | |
{{period_num}} | Period counter | Citac periody | 5 |
Installation
Instalace
- Copy
jpnet-recurring-ticket/to iTopextensions/directory. - Run iTop Setup (upgrade).
- After setup, "Recurring Tickets" menu appears in admin section.
- Zkopirujte
jpnet-recurring-ticket/do adresareextensions/v iTopu. - Spustte iTop Setup (upgrade).
- Po dokonceni se v admin sekci objevi menu "Recurring Tickets".
Configuration
Konfigurace
Templates are managed via admin menu Recurring Tickets > Templates. Each template has: name, status (active/inactive), title template, description template, recurrence settings, organization, caller, optional service/team, initial stimulus, resolution code, and auto-resolve note.
Sablony se spravuji pres admin menu Recurring Tickets > Templates. Kazda sablona obsahuje: nazev, stav (aktivni/neaktivni), sablonu nazvu, sablonu popisu, nastaveni periodicity, organizaci, zadavatele, volitelnou sluzbu/tym, pocatecni stimulus, kod reseni a poznamku k automatickemu reseni.
Revision History
Historie verzi
| Date | Datum | Version | Verze | Notes | Poznamky |
|---|---|---|---|---|---|
| 2026-04-08 | 1.0.0 | Initial release | Prvni vydani |
Technical Details
Technicke detaily
The RecurringTicketProcessor class implements iBackgroundProcess with 1-hour periodicity. It also extends UserRequest lifecycle by adding ev_pending transition from 'new' state.
Trida RecurringTicketProcessor implementuje iBackgroundProcess s 1-hodinovou periodicitou. Rozsiruje take zivotni cyklus UserRequest pridanim prechodu ev_pending ze stavu 'new'.