Skip to content

Identify issue boards by using GraphQL

DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated

You can identify issue boards for a project by using:

Use GraphiQL

You can use GraphiQL to list the issue boards for a project.

  1. Open GraphiQL:

    • For GitLab.com, use: https://gitlab.com/-/graphql-explorer
    • For self-managed GitLab, use: https://gitlab.example.com/-/graphql-explorer
  2. Copy the following text and paste it in the left window. This query gets issue boards for the gitlab-docs repository.

    query {
      project(fullPath: "gitlab-org/gitlab-docs") {
        name
        forksCount
        statistics {
          wikiSize
        }
        issuesEnabled
        boards {
          nodes {
            id
            name
          }
        }
      }
    }
  3. Select Play.

To view one of these issue boards, copy a numeric identifier from the output. For example, if the identifier is 105011, use this URL to go to the issue board:

https://gitlab.com/gitlab-org/gitlab-docs/-/boards/105011

Related topics