#import "ee_else_ce/boards/graphql/board_list.fragment.graphql" query BoardLists( $fullPath: ID! $boardId: ID! $filters: BoardIssueInput $isGroup: Boolean = false $isProject: Boolean = false ) { group(fullPath: $fullPath) @include(if: $isGroup) { board(id: $boardId) { hideBacklogList lists(issueFilters: $filters) { nodes { ...BoardListFragment } } } } project(fullPath: $fullPath) @include(if: $isProject) { board(id: $boardId) { hideBacklogList lists(issueFilters: $filters) { nodes { ...BoardListFragment } } } } }