summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards/graphql/board_lists.query.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/boards/graphql/board_lists.query.graphql')
-rw-r--r--app/assets/javascripts/boards/graphql/board_lists.query.graphql28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/graphql/board_lists.query.graphql b/app/assets/javascripts/boards/graphql/board_lists.query.graphql
new file mode 100644
index 00000000000..eb922f162f8
--- /dev/null
+++ b/app/assets/javascripts/boards/graphql/board_lists.query.graphql
@@ -0,0 +1,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
+ }
+ }
+ }
+ }
+}