How to find the latest person who changed the PR states

community-help

#1

Hi everyone,
I am new to GraphQL and I have figured out how to write queries but I am not able to write a query which retrieves the user/owner/members who changed the PR status.

I am able to get the ones who merged the PR but not the one who closed it.

I currently have written
pullRequests(first:100,states:[MERGED,CLOSED]){
edges{
node{
state
number
author{
…userFields
}
}
}