Skip to main content

Archived Status

in DPQL Reference
Authors list
Paskelbta: 2017-03-16|Paskutinį Kartą Atnaujinta: 2022-11-03

When you create custom reports with the Reports Builder, tickets that have been  Ticket archiving will not show up if you query only for resolved tickets.

Archived tickets have a tickets.status value of ‘archived’.

To ensure you match resolved OR archived tickets, you should check for:

WHERE tickets.status IN ('resolved', 'archived')
copy

There is also a tickets.date_archived field which indicates when the ticket was last archived.

Note that the built-in reports for resolved tickets already include archived tickets.

NaudingasNenaudingas
next pageDate and Time Operations
previous pageAliasing Expressions with AS

Please log in or register to submit a comment.