Is there way to filter the issues closed by a user.
Referred the below link, but didn't help.
https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests
You could list repository issues, filtering by state: closed.
The answer includes a closed_by field that you can use to filter the result set.
Another approach, using GitHub GraphQL, is possible en though the Issue object does not have a ClosedEvent field which actually has the Actor field with the user details.
GitHub support suggests in that thread
query commits{
repository(owner: "rohit-smpx", name:"inno"){
issues(first: 10, states:CLOSED){
nodes{
number
title
timelineItems(itemTypes:CLOSED_EVENT, last: 1){
nodes{
__typename
...on ClosedEvent{
actor{
login
}
createdAt
}
}
}
}
}
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With