Mirror of the Rel4tion website/wiki source, view at <http://rel4tion.org>

[[ 🗃 ^yEzqv rel4tion-wiki ]] :: [📥 Inbox] [📤 Outbox] [🐤 Followers] [🤝 Collaborators] [🛠 Commits]

Clone

HTTPS: git clone https://vervis.peers.community/repos/yEzqv

SSH: git clone USERNAME@vervis.peers.community:yEzqv

Branches

Tags

master :: templates /

ticket-bucket-stats.mdwn

[[!color foreground=#ff0000 text=“Important:”]] The errors below happen because - at least it seems so - by default ikiwiki ignores the TMPL tags when rendering template pages. This should be fixed upstream already using the templatebody directive, but this wiki doesn’t have that feature yet.

Statistics

By Done

open: [[!pagecount pages=""" and * and !templates/ticket and ( ) and tagged(tickets/class/*) and !tagged(tickets/done)"""]]
closed: [[!pagecount pages=""" and * and !templates/ticket and ( ) and tagged(tickets/class/*) and tagged(tickets/done)"""]]
total: [[!pagecount pages=""" and * and !templates/ticket and ( ) tagged(tickets/class/*)"""]]
invalid: [[!pagecount pages=""" and * and !templates/ticket and tagged(tickets/done) and !tagged(tickets/class/*)"""]]

By Class

[[!pagestats pages=“” pages="tickets/class/" among=""“ among=”"" and !templates/ticket and (!tickets or tickets/*) and tagged(tickets/done) and !tagged(tickets/done) """ style=“table”]]

This template generates ticket statistics. The following parameters are used:

The invalid category in the bydone stats counts tickets marked as done but which don’t have a class. This is invalid because every ticket must have a class.

[See repo JSON]