Display a summary table of counts of rule discoveries
gitlab-triage
can be used to just discover info about your issue tracker.
It's possible to line up a few queries and then let it run to see what the rules come up with. It could be nice to facilitate this functionality by displaying the results of the individual runs in a table or some kind of summary
This info is already displayed in the gitlab-triage
output but with a few rules and the output of a dry-run it can be verbose.
Here is an example, I wanted to find old issues that fit particular categories:
resource_rules:
issues:
rules:
- name: Find old issues no category
conditions:
date:
attribute: created_at
condition: older_than
interval_type: months
interval: 18
milestone:
- No Milestone
state: opened
forbidden_labels:
- feature proposal
- bug
- support request
actions: []
- name: Find old feature proposals
conditions:
date:
attribute: created_at
condition: older_than
interval_type: months
interval: 18
milestone:
- No Milestone
state: opened
labels:
- feature proposal
actions: []
- name: Find old bugs
conditions:
date:
attribute: created_at
condition: older_than
interval_type: months
interval: 18
milestone:
- No Milestone
state: opened
labels:
- bug
actions: []
- name: Find old support requests
conditions:
date:
attribute: created_at
condition: older_than
interval_type: months
interval: 18
milestone:
- No Milestone
state: opened
forbidden_labels:
- support request
actions: []
Edited by Mark Fletcher