query rebaseQuery($projectPath: ID!, $iid: String!) { project(fullPath: $projectPath) { id mergeRequest(iid: $iid) { id rebaseInProgress targetBranch userPermissions { pushToSourceBranch } } } }