Aikido Guy wrote on 04.05.2021 at 15:24:
Hi,
I've looked at the [[TicketQuery]] help web page (Query Language) and
see a number of very helpful examples. However, I can't quite figure out
how to do what I want.
I have a custom field, let's call it "date", and I'd like to query out
all tickets:
1) that have "date" set to today
2) that have "date" set to sometime from now until 1 week from now
I've tried:
1) [[TicketQuery(date=*now..1d*)]] # want all tickets for today
2) [[TicketQuery(date=*now..1w*)]] # want all tickets for today,
tomorrow... up to and including 6 days from today... so, "this week"
Thank you!
Kindly,
Aikido Guy
Hi Aikido
[[TicketQuery(date=today)]]
[[TicketQuery(date=1weekago)]]
See at bottom of this page:
https://trac.edgewall.org/wiki/TracQuery
Clemens
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/137573a7-33c1-c8aa-6494-6d208100a275%40osypkamed.com.