getsentry / getsentry/sentry

Add dateModified search filter for issues

Open
#105,592 3 comments 0 reactions 0 assignees View on GitHub
Component: Search Feature Product Area: Issues
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
21h 10m
Merged PRs (30d)
635

Description

### Problem Statement

When polling for recently changed issues, there's no way to filter by "last modified time". The existing filters (`lastSeen`, `firstSeen`, `age`) track event timestamps, not metadata changes like priority, assignee, or status updates.

This makes it impossible to efficiently query "issues that changed since my last sync" without fetching all issues.

### Solution Brainstorm

Add a `dateModified:>TIMESTAMP` or `updated:>TIMESTAMP` search filter that matches issues where any metadata was modified after the given time.

### Product Area

Issues

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing lastSeen, firstSeen, and age search-filter implementations and the issue-search tests. Determine how metadata changes such as priority, assignee, and status are represented, then define the filter semantics and verify that queries return issues modified after the supplied timestamp.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.