Skip to content

Add confidential filter for board list issues

What does this MR do and why?

Related to #337043 (closed)

In this MR we add a new :confidential argument to BoardIssuableInputBaseType and BoardIssueInputBaseType, to have the ability to filter issue boards by confidentiality in GraphQL.

Example queries

boardLists
query boardLists {
  project(fullPath: "gitlab-org/gitlab-test") {
    board(id: "gid://gitlab/Board/1") {
      lists(issueFilters: { confidential: true }) {
      	edges {
          node {
            issuesCount
          }
        }
      }
    }
  }
}
boardListIssues

query boardListIssues {
  project(fullPath: "gitlab-org/gitlab-test") {
    board(id: "gid://gitlab/Board/1") {
      lists(first: 1){
        edges {
          node {
            issues(filters: {confidential: true}) {
              edges {
                node {
                  title
                }
              }
            }
          }
        }
      }
    }
  }
}
epicBoardLists
query epicBoardLists {
  group(fullPath: "gitlab-org") {
    epicBoard(id: "gid://gitlab/Boards::EpicBoard/1") {
      lists(epicFilters: { confidential: true }) {
        edges {
          node {
            epicsCount
          }
        }
      }
    }
  }
}

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eugenia Grieff

Merge request reports