Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 9 years ago

#11134 closed enhancement (duplicate)

Expand groups in queries

Reported by: chris.nelson.1022@… 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)

expand_group.diff (4.8 KB ) - added by Chris.Nelson@… 12 years ago.
Patch to expand group names in ticket queries

Download all attachments as: .zip

Change History (4)

by Chris.Nelson@…, 12 years ago

Attachment: expand_group.diff added

Patch to expand group names in ticket queries

comment:1 by Jun Omae, 12 years ago

Milestone: next-dev-1.1.x
Resolution: duplicate
Status: newclosed

Duplicate of #8672

in reply to:  1 comment:2 by anonymous, 12 years ago

Replying to jomae:

Duplicate of #8672

Yes. Sorry. However, the patch attached here applies to 1.0/1.1, the other does not.

comment:3 by Ryan J Ollos, 9 years ago

Reporter: changed from Chris.Nelson@… to chris.nelson.1022@…

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.