Skip to content

GraphQL mutation for updating board lists

What does this MR do?

Related to #229764 (closed)

Adds a GraphQL mutation to update boards list properties position and collapsed.

Example query

mutation {
  updateList(input: { listId: "gid://gitlab/List/31", collapsed: false, position: 3 }){
    list{
      id
      collapsed
      position
    }
  }
}

Response

{
  "data": {
    "updateList": {
      "list": {
        "id": "gid://gitlab/List/31",
        "collapsed": false,
        "position": 3
      }
    }
  }
}

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

Closes #229764 (closed)

Edited by Eugenia Grieff

Merge request reports

Loading