Edgewall Software
Modify

Opened 14 years ago

Last modified 14 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
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

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 by Remy Blank, 14 years ago

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

comment:2 by Don <donandre@…>, 14 years ago

okay

comment:3 by Remy Blank, 14 years ago

Keywords: bitesized added
Milestone: unscheduled

Right. PatchWelcome.

Modify Ticket

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

Add Comment


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