Welcome to mirror list, hosted at ThFree Co, Russian Federation.

search_iterations.query.graphql « queries « issues_list « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 93600c62905f372286904ca78cf460b740f22f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#import "./iteration.fragment.graphql"

query searchIterations($fullPath: ID!, $search: String, $id: ID, $isProject: Boolean = false) {
  group(fullPath: $fullPath) @skip(if: $isProject) {
    iterations(title: $search, id: $id, includeAncestors: true) {
      nodes {
        ...Iteration
      }
    }
  }
  project(fullPath: $fullPath) @include(if: $isProject) {
    iterations(title: $search, id: $id, includeAncestors: true) {
      nodes {
        ...Iteration
      }
    }
  }
}