Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ def get_open_issues(priority, label):
labels: { name: { eq: $label } }
priority: { lte: $priority }
state: { name: { nin: ["Done", "Canceled", "Duplicate"] } }
or: [
{ project: { name: { eq: "Customer Success" } } },
{ project: { null: true } }
]
project: { null: true }
Copy link

Copilot AI Jul 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change may be a breaking change for consumers expecting issues from the 'Customer Success' project. Consider adding a parameter to control project filtering or documenting this behavior change.

Copilot uses AI. Check for mistakes.
}
orderBy: createdAt
) {
Expand Down Expand Up @@ -125,10 +122,7 @@ def get_completed_issues(priority, label, days=30):
priority: { lte: $priority }
state: { name: { in: ["Done"] } }
completedAt:{gt: $days}
or: [
{ project: { name: { eq: "Customer Success" } } },
{ project: { null: true } }
]
project: { null: true }
}
orderBy: updatedAt
) {
Expand Down Expand Up @@ -215,10 +209,7 @@ def get_created_issues(priority, label, days=30):
labels: { name: { eq: $label } }
priority: { lte: $priority }
createdAt:{gt: $days}
or: [
{ project: { name: { eq: "Customer Success" } } },
{ project: { null: true } }
]
project: { null: true }
}
orderBy: createdAt
) {
Expand Down