Modify ↓
#11134 closed enhancement (duplicate)
Expand groups in queries
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Use @group
as a value for owner
in ticket queries to get all members of the group (and subgroups).
If the software
group includes Bob and Carol, a query like:
[[TicketQuery(owner=@software)]]
now shows tickets belonging to Bob or Carol. If hardware
is Ted and Alice, and engineering
is hardware
and software
, a query like:
[[TicketQuery(owner=@engineering)]]
shows tickets for all four owner.
This could be extended to reporter
if useful but I rarely (if ever) query for tickets by a certain reporter.
This honors restrict_owners for expanded group.
Attachments (1)
Change History (4)
by , 12 years ago
Attachment: | expand_group.diff added |
---|
follow-up: 2 comment:1 by , 12 years ago
Milestone: | next-dev-1.1.x |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #8672
comment:2 by , 12 years ago
comment:3 by , 9 years ago
Reporter: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
Patch to expand group names in ticket queries