Skip to content

GraphQL: Reorder lists within a board

Part of board refactoring. Allow reordering of lists within GraphQL.

REST query:

PUT /-/boards/4/lists/15

list: {position: 2, collapsed: false}

The equivalent GraphQL would be something like

mutation {
  updateList(input: { list: "gid://gitlab/List/15", position: 2, collapsed: false }) {
    errors
  }
}
Edited by charlie ablett