Skip to main content

project_board

Gets or lists a project_board resource.

Overview​

Nameproject_board
TypeResource
Idgitlab.boards.project_board

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
idstringID (global ID) of the board.
namestringName of the board.
created_atstringTimestamp of when the board was created.
hide_backlog_listbooleanWhether or not backlog list is hidden.
hide_closed_listbooleanWhether or not closed list is hidden.
milestoneobjectMilestone identity (id, title)
updated_atstringTimestamp of when the board was last updated.
web_pathstringWeb path of the board.
web_urlstringWeb URL of the board.
weightintegerWeight of the board.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectfull_path, id, hostA single board of the project. Generated from the GitLab GraphQL schema field Project.board (Board).

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
full_pathstringFull path of the project, for example gitlab-org/gitlab
hoststringGitLab host, with an optional port (default gitlab.com). Resolved from the GITLAB_HOST environment variable when it is set (x-stackQL-envVar); a WHERE host value always takes precedence. Self-managed instances: the provider is generated from the gitlab.com schema, so older instances may reject fields they do not serve. (default: gitlab.com, x-stackQL-envVar: GITLAB_HOST)
idstringID of the board.

SELECT examples​

A single board of the project. Generated from the GitLab GraphQL schema field Project.board (Board).

SELECT
id,
name,
created_at,
hide_backlog_list,
hide_closed_list,
milestone,
updated_at,
web_path,
web_url,
weight
FROM gitlab.boards.project_board
WHERE full_path = '{{ full_path }}' -- required
AND id = '{{ id }}' -- required
AND host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
;