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 , 14 years ago
Cc: | added |
---|---|
Summary: | Add an add operator to ticket query syntax → Add an AND operator to ticket query syntax |
comment:3 by , 14 years ago
Milestone: | → unscheduled |
---|
comment:4 by , 14 years ago
Cc: | added |
---|
comment:5 by , 11 years ago
Component: | ticket system → query system |
---|---|
Keywords: | query added |
comment:6 by , 11 years ago
Cc: | removed |
---|
comment:7 by , 10 years ago
Cc: | added |
---|
comment:8 by , 6 years ago
From wiki:TracQuery#QueryLanguage:
query:"status=closed&keywords~=firefox opera" query closed tickets that contain keywords firefox
andopera
But how about "query closed tickets that contain keywords java
, but not javascript
"?
- query:keywords~=java (shows too many tickets related to javascript)
- query:"keywords~=java !javascript" doesn't work (no tickets match)
- query:keywords~=java&keywords!~=javascript doesn't work (the "not" seems to be ignored?)
Note:
See TracTickets
for help on using tickets.
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.