Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

GraphQL repo issues has no `closedBy` field

While running queries against repository `issues` I cannot find a field for events that includes a `closedBy` attribute (

3 Replies
Community Manager
Message 2 of 4

Re: GraphQL repo issues has no `closedBy` field

Hey @reka18,


Thanks for being here! The Actor field should show this. Are you able to post a sample of your results? If needed to be private please contact us at and we'll take a look.

Thanks for being here, sharing, and keeping our community awesome!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 4

Re: GraphQL repo issues has no `closedBy` field

query { 
  viewer { 
    repository(name: "<name-of-repo-here"){
      issues(states: CLOSED, first:10){

When I press the CTRL + SPACE to see available options, I cannot see the actor field.

Copilot Lvl 2
Message 4 of 4

Re: GraphQL repo issues has no `closedBy` field

I think what @reka18 meant was that the Issue Object doesn't have a ClosedEvent field which actually has the Actor field with the user details.

The v3 API has a `closed_by` field present.