Skip to content

Add date filter option for searching issues #21

@leetdavid

Description

@leetdavid

Currently, the linear_search_issues tool allows filtering by query text, team, status, assignee, labels, and priority. However, there's no way to filter issues by date ranges (creation date, update date, etc.), which would be a valuable addition to the search functionality.

Current Functionality

The current search tool accepts these parameters:

query (string): Text to search in title/description
teamId (string): Filter by team
status (string): Filter by status
assigneeId (string): Filter by assignee
labels (string[]): Filter by labels
priority (number): Filter by priority
limit (number, default: 10): Max results

Proposed Enhancement

Add date filtering options to the linear_search_issues tool, such as:

createdAfter (ISO string): Filter issues created after this date
createdBefore (ISO string): Filter issues created before this date
updatedAfter (ISO string): Filter issues updated after this date
updatedBefore (ISO string): Filter issues updated before this date

Use Cases

My main reason to add this is because I want the LLM to summarize what I've done this week.
However, I think the functionality is also good for analytical purposes, such as:

  • Find recently created issues (e.g., "Show me issues created in the last week")
  • Find stale issues (e.g., "Show me issues that haven't been updated in 30 days")
  • Filter issues within a specific timeframe (e.g., "Show me issues from Q1 2025")

References

I know this should be possible because there is documentation regarding date filtering: https://linear.app/developers/filtering

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions