Edgewall Software
Modify

Opened 14 years ago

Last modified 6 years ago

#9736 new enhancement

Add an AND operator to ticket query syntax

Reported by: Mitar Owned by:
Priority: normal Milestone: unscheduled
Component: query system Version: 0.12dev
Severity: normal Keywords: query
Cc: mmitar@…, jrioux@…, th@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Add an add operator to ticket query syntax (used for example in macro). Currently it is only possible to do or operator queries. So it is impossible to query for example tickets, which have keywords A and keyword B at the same time.

Attachments (0)

Change History (8)

comment:1 by Ryan J Ollos <ryano@…>, 14 years ago

Cc: ryano@… added
Summary: Add an add operator to ticket query syntaxAdd an AND operator to ticket query syntax

Sounds like you mean AND operator. I'd find this useful as well, though I think the TracQuery language is a bit confusing and could use an overhaul.

comment:2 by Mitar, 14 years ago

Ups, yes. AND operator. ;-) And I agree with overhaul.

comment:3 by Remy Blank, 14 years ago

Milestone: unscheduled

comment:4 by jrioux@…, 14 years ago

Cc: jrioux@… added

comment:5 by anonymous, 11 years ago

Component: ticket systemquery system
Keywords: query added

comment:6 by Ryan J Ollos, 11 years ago

Cc: ryano@… removed

comment:7 by th@…, 10 years ago

Cc: th@… added

comment:8 by anonymous, 6 years ago

From wiki:TracQuery#QueryLanguage:

query:"status=closed&keywords~=firefox opera" query closed tickets that contain keywords firefox and opera

But how about "query closed tickets that contain keywords java, but not javascript"?

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.