summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/graphql/board_lists.query.graphql
blob: eb922f162f8af36f55b400c84382c1d5aae947f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#import "ee_else_ce/boards/graphql/board_list.fragment.graphql"

query ListIssues(
  $fullPath: ID!
  $boardId: ID!
  $filters: BoardIssueInput
  $isGroup: Boolean = false
  $isProject: Boolean = false
) {
  group(fullPath: $fullPath) @include(if: $isGroup) {
    board(id: $boardId) {
      lists(issueFilters: $filters) {
        nodes {
          ...BoardListFragment
        }
      }
    }
  }
  project(fullPath: $fullPath) @include(if: $isProject) {
    board(id: $boardId) {
      lists(issueFilters: $filters) {
        nodes {
          ...BoardListFragment
        }
      }
    }
  }
}