Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3

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 (https://developer.github.com/v4/object/closedevent/).

2 Replies
Community Manager
Message 2 of 3

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 https://github.com/contact and we'll take a look.

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

Ground Controller Lvl 1
Message 3 of 3

Re: GraphQL repo issues has no `closedBy` field

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

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