Edgewall Software
Modify

Opened 4 years ago

Last modified 4 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:
Release Notes:
API 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 Changed 4 years ago by rblank

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

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

okay

comment:3 Changed 4 years ago by rblank

  • Keywords bitesized added
  • Milestone set to unscheduled

Right. PatchWelcome.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
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.