Skip to content

Add option to query a single board list with GraphQL API

What does this MR do?

Related to #230903 (closed)

Allow us to query a single board id by providing its ID

Example Query

{
  group(fullPath: "gitlab-org") {
    boards(first: 1){
      edges{
        node{
          lists(id: "gid://gitlab/List/1"){
            edges {
              node {
                id
                title
                position
                collapsed
              }
            }
          }
        }
      }
    }
  }
}

Example Response

{
  "data": {
    "group": {
      "boards": {
        "edges": [
          {
            "node": {
              "lists": {
                "edges": [
                  {
                    "node": {
                      "id": "gid://gitlab/List/1",
                      "title": "Backlog",
                      "position": null,
                      "collapsed": false
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Eugenia Grieff

Merge request reports

Loading