Skip to content

GraphQL: Allow group/project board to be queried by id

Brett Walker requested to merge bw-board-query-by-id into master

What does this MR do?

Add GraphQL query for a specific board in a group or project. For example:

query single_group_board {
  group(fullPath: "h5bp") {
    id
    name
    board(id: "gid://gitlab/Board/2") {
      id
      name
      weight
    }
  }
}


query single_project_board {
  project(fullPath: "h5bp/html5-boilerplate") {
    name
    board(id: "gid://gitlab/Board/5") {
      id
      name
      weight
    }
  }
}

A component of #204790 (closed)

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 Yorick Peterse

Merge request reports