Edgewall Software

Opened 8 years ago

Last modified 7 years ago

#9756 new enhancement

TicketQuery should count groups if grouping is used

Reported by: donandre@… Owned by:
Priority: normal Milestone: unscheduled
Component: general Version: 0.12
Severity: minor Keywords: bitesized
Release Notes:
API Changes:


If I have a TicketQuery that uses grouping and formats as count, then I would rather like to know how many groups there are instead of how many tickets. That way I can do e.g. queries on the number of tickets affecting a number of components if I filter the tickets and group by components. I can still get the number of tickets by omitting the group.

Currently (0.12) I get the number of tickets in both cases.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Remy Blank

This would be quite confusing. How about using format=groupcount for getting the number of groups?

comment:2 Changed 7 years ago by Don <donandre@…>


comment:3 Changed 7 years ago by Remy Blank

Keywords: bitesized added
Milestone: unscheduled

Right. PatchWelcome.

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set.
The owner will be changed from (none) to anonymous.

Add Comment

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