Identify issue boards with GraphQL
DETAILS: Tier: Free, Premium, Ultimate Offering: GitLab.com, Self-managed, GitLab Dedicated
This page describes how you can use the GraphiQL explorer to identify
existing issue boards in the gitlab-docs documentation repository.
Set up the GraphiQL explorer
This procedure presents a substantive example that you can copy and paste into your own instance of the GraphiQL explorer:
-
Copy the following code excerpt:
query { project(fullPath: "gitlab-org/gitlab-docs") { name forksCount statistics { wikiSize } issuesEnabled boards { nodes { id name } } } } -
Open the GraphiQL Explorer page.
-
Paste the
querylisted above into the left window of your GraphiQL explorer tool. -
Select Play to get the result shown here:
If you want to view one of these boards, take one of the numeric identifiers shown in the output. From the screenshot, the first identifier is 105011. Go to the following URL, which includes the identifier:
https://gitlab.com/gitlab-org/gitlab-docs/-/boards/105011
For more information on each attribute, see the GraphQL API Resources.
