Skip to content

feat: Adding 'Created_At' column, defaulting to false #460

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

Merged
merged 4 commits into from
Jan 26, 2025
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update issue_metrics.py
Co-authored-by: JM (Jason Meridth) <[email protected]>
Signed-off-by: Chris McIntosh <[email protected]>
  • Loading branch information
Chocrates and jmeridth authored Jan 25, 2025
commit 3b13de5d02e17779c0763a09de0e9ece256ec165
3 changes: 2 additions & 1 deletion issue_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ def get_per_issue_metrics(
num_issues_open += 1
if env_vars.hide_created_at is False:
issue_with_metrics.created_at = issue.created_at

if not env_vars.hide_created_at:
issue_with_metrics.created_at = issue["createdAt"]
issues_with_metrics.append(issue_with_metrics)

return issues_with_metrics, num_issues_open, num_issues_closed
Expand Down
Loading