Filter ticket queries by user groups
|Reported by:||Owned by:|
|Severity:||normal||Keywords:||permissions reports queries tickets groups roles consider|
We had a need to filter the results of a TicketQuery by user groups (from the permission system) to keep query results from becoming overwhelming. The attached patch does this by expanding a 'username' like '@software' in the owner field of a query to all the users with that role. This is a very rough implementation for now (the group functionality should be provided by the permissions system and there should be a way to list groups on the Custom Query page) but I'm putting it up anyway in the hope that the idea is useful.
We use this like