Getting each contributor's individual number of commits and issues created to a specific repo

I’m having difficulty writing the query for this using GraphQL. I see the objects CommitContributionsByRepository and CreatedIssueContribution but can not figure out a way to query this data. For one repo, I would like to know how many commits and issues created each person has done.

Thanks in advance.

1 Like

Hey @lockr7,

Thanks for being here! Check out ContributionsCollection this aggregates contributions such as opened issues and commits created by a user.

I hope this helps!