-
Notifications
You must be signed in to change notification settings - Fork 60
Description
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