Skip to main content
Solved

Rolling Weekly Report - Tickets not modified in the last 7 days

  • January 22, 2026
  • 3 replies
  • 34 views

Forum|alt.badge.img+1

Hi there,

I’m trying to create a scheduled report for every Monday, that produces a ticket of tickets that have not been modified in the last 7 days.

The filtering is frustrating me because each time I try to filter by ‘Last 7 Days’ the condition changes from greater than to between.

Instead, I was thinking of

 

  1. Creating a custom field  called ‘Modified in the Last 7 Days’ with Yes/No options. 
  2. Escalation rule that activates when 70 hours have passed since the Last Modify Time & the Modify User is not NONE (To helpfully eliminate the Escalation Agent). 
  3. We operate on 10 hour working days, Operating times from Monday-Friday so 70 hours = 7 days.

Would this approach work? 

 

Best answer by MADALIN

@rdtjbrown  Unfortunately, at the moment, it’s not possible to create this type of filter using the out-of-the-box reporting module. We do have an internal feature request for this, and I’ve opened a ticket with our Customer Care team (2609227) and linked it to that request, so you’ll receive automatic updates as progress is made.

Your idea is a good alternative for achieving the desired outcome. I also noticed that you have a sandbox environment, and we recommend testing this scenario there first to avoid any potential impact on your production environment.

If you need any assistance, please let me know and I’ll be happy to open a ticket for our team to reach out and help further.

3 replies

SysAid Copilot
SysAider
Forum|alt.badge.img+4
Hi there,

SysAid Copilot is here with our AI Magic!
Here is the response we thought might assist you:

copilot-1.png
Yes, your general idea (using an escalation rule and then reporting on a flag/field) is the right direction, but it needs a small adjustment to actually reflect “not modified in the last 7 days.”

## Key limitation

From multiple cases and bug reports, SysAid’s report filters on **Modify time** / “Last X days” are currently problematic for exactly what you describe (changing to “between”, limited dynamic options, etc.). So a **workaround via escalation + custom field/view** is the realistic path.

## Why your current logic is off

Your proposal:

- Custom field: **“Modified in the Last 7 Days”** (Yes/No)
- Escalation when **70 hours have passed since Last Modify Time** and **Modify User != NONE**

Issues:

1. **70 hours ≠ 7 days**
You’d be flagging tickets that haven’t been modified in ~3 days, not 7.

2. **Static threshold**
You want a *rolling* condition (“not modified in the last 7 days from whenever the report runs”), which is better handled by:
- A **view static filter** using date/time math on `update_time` (Modify Time), or
- An escalation that re-evaluates regularly and writes a flag you can report on.

3. **Modify User != NONE**
This only checks who *last* modified the ticket. It doesn’t by itself help distinguish “stale” vs active tickets in the last 7 days; the key is the *time* since last modification.

## Recommended workaround (no extra field needed)

Because of the known reporting limitations, a simple and proven workaround is to:

1. **Create a customized view on the SR list** with a **static filter** for “not modified in last 7 days”.
For example (MySQL-style, adjust timezone/DB type as needed):

```sql
update_time <= DATE_ADD(NOW(), INTERVAL -7 DAY)
```

Or with explicit timezone conversion (similar to existing workarounds):

```sql
update_time <= CONVERT_TZ(NOW() - INTERVAL 7 DAY, 'UTC', 'US/Eastern')
```

Replace the timezone with yours.

2. Use this view as your **working “stale tickets” list**.
From there you can:
- Export to Excel/PDF on Mondays, or
- Use it as the basis for follow-up work.

This avoids relying on the problematic “Last 7 Days” report filter and keeps the logic truly rolling.

## If you *really* want the Yes/No field + escalation

Then the logic should be:

- Custom field: e.g. **“Stale > 7 Days”** (Yes/No)
- Escalation rule runs **daily (or hourly)**.
- Condition: something like
`NOW() - modify_time >= 7 days`
(in the escalation condition builder, using the equivalent date math).
- Action: set **Stale > 7 Days = Yes** when true; set to **No** otherwise.
- Report: scheduled **Incidents** report filtered on `Stale > 7 Days = Yes`.

This will work conceptually as long as the escalation engine lets you use the needed date math in the condition. It’s more moving parts than the static-filter view, but it gives you a simple Yes/No field for reporting.

---

If you want, paste a screenshot or the exact DB type/timezone you use, and I can give you the precise static filter expression you should use in your view.

Forum|alt.badge.img+1
  • Author
  • Active talker
  • January 22, 2026

Well, that was about as helpful as a fart in a shed.


Forum|alt.badge.img
  • SysAider
  • Answer
  • January 29, 2026

@rdtjbrown  Unfortunately, at the moment, it’s not possible to create this type of filter using the out-of-the-box reporting module. We do have an internal feature request for this, and I’ve opened a ticket with our Customer Care team (2609227) and linked it to that request, so you’ll receive automatic updates as progress is made.

Your idea is a good alternative for achieving the desired outcome. I also noticed that you have a sandbox environment, and we recommend testing this scenario there first to avoid any potential impact on your production environment.

If you need any assistance, please let me know and I’ll be happy to open a ticket for our team to reach out and help further.