-
Notifications
You must be signed in to change notification settings - Fork 0
add cycle work to changelog #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -118,19 +118,21 @@ def get_completed_issues(priority, label, days=30): | |||||||
| issues( | ||||||||
| first: 50 | ||||||||
| after: $cursor | ||||||||
| filter: { | ||||||||
| filter: { | ||||||||
| team: { name: { eq: "Apollos" } } | ||||||||
| labels: { name: { eq: $label } } | ||||||||
| priority: { lte: $priority } | ||||||||
| state: { name: { in: ["Done"] } } | ||||||||
| completedAt:{gt: $days} | ||||||||
| project: { null: true } | ||||||||
| completedAt: { gt: $days } | ||||||||
|
||||||||
| completedAt: { gt: $days } | |
| completedAt: { gt: $days } | |
| project: { name: { eq: $project } } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The get_projects() call is made inside the filtering logic but the result is only used when cycle_init is configured. Consider moving this call inside the if cycle_init block to avoid unnecessary API calls when no cycle initiative is configured.