Files
openide/plugins/gitlab/resources/graphql/query/findProjectMergeRequests.graphql
Ivan Semenov f662990cc2 [gitlab] do not look up closed MRs for current branch
#IDEA-337071 Fixed

GitOrigin-RevId: b35f4dd38d626b3f9531cffb4ae8694916983058
2024-01-09 19:36:47 +00:00

20 lines
558 B
GraphQL

query($projectId: ID!, $sourceBranches: [String!], $targetBranches: [String!], $state: MergeRequestState, $pageSize: Int = 100, $cursor: String) {
project(fullPath: $projectId) {
mergeRequests(sourceBranches: $sourceBranches, targetBranches: $targetBranches, state: $state, after: $cursor, first: $pageSize) {
nodes {
iid
targetBranch
sourceBranch
targetProject {
...project
}
sourceProject {
...project
}
}
pageInfo {
...pageInfo
}
}
}
}