query mergeRequest($projectPath: ID!, $mergeRequestIID: String!) {
  project(fullPath: $projectPath) {
    id
    mergeRequest(iid: $mergeRequestIID) {
      id
      title
      createdAt
      state
      headPipeline {
        id
        detailedStatus {
          id
          icon
          group
        }
      }
    }
  }
}
