Closed
Description
Describe the bug
When I run the issue metrics github action with the HIDE_CREATED_AT set to false, I get an error: TypeError: 'IssueSearchResult' object is not subscriptable
.
To Reproduce
- Run issue metrics in a github workflow step with env.HIDE_CREATED_AT set to False.
Expected behavior
I would receive the metrics with the created_at
value set to a timestamp in which a given pr was created (probably in UTC).
Screenshots

Additional context
The issue points to this line in the code.
My github runner info:
- architecture type: x64 (Intel)
- golden container image: ubuntu22.04
- I set the github workflow to run with python 3.10 although I don't think this carries through to actions.
- version of issue metrics package: latest (3.18.2)