Skip to main content

project_iteration_cadences

Gets or lists a project_iteration_cadences resource.

Overview​

Nameproject_iteration_cadences
TypeResource
Idgitlab.projects.project_iteration_cadences

Fields​

The following fields are returned by SELECT queries:

GraphQL response envelope

NameDatatypeDescription
idstringGlobal ID of the iteration cadence.
activebooleanWhether the iteration cadence is active.
automaticbooleanWhether the iteration cadence should automatically generate upcoming iterations.
descriptionstringDescription of the iteration cadence. Maximum length is 5000 characters.
duration_in_weeksintegerDuration in weeks of the iterations within the cadence.
iterations_in_advanceintegerNumber of future iterations to schedule in addition to the current one.
roll_overbooleanWhether the iteration cadence should roll over issues to the next iteration or not.
start_datestringTimestamp of the automation start date.
titlestringTitle of the iteration cadence.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectfull_path, hostactive, automatic, duration_in_weeks, id, include_ancestor_groups, titleFind iteration cadences. Generated from the GitLab GraphQL schema field Project.iterationCadences (connection of IterationCadence nodes).

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)
activebooleanWhether the iteration cadence is active.
automaticbooleanWhether the iteration cadence should automatically generate upcoming iterations.
duration_in_weeksintegerDuration in weeks of the iterations within the cadence.
idstringGlobal ID of the iteration cadence to look up.
include_ancestor_groupsbooleanWhether to include ancestor groups to search iterations cadences in.
titlestringFuzzy search by title.

SELECT examples​

Find iteration cadences. Generated from the GitLab GraphQL schema field Project.iterationCadences (connection of IterationCadence nodes).

SELECT
id,
active,
automatic,
description,
duration_in_weeks,
iterations_in_advance,
roll_over,
start_date,
title
FROM gitlab.projects.project_iteration_cadences
WHERE full_path = '{{ full_path }}' -- required
AND host = '{{ host }}' -- required (defaults to gitlab.com; or set GITLAB_HOST)
AND active = '{{ active }}'
AND automatic = '{{ automatic }}'
AND duration_in_weeks = '{{ duration_in_weeks }}'
AND id = '{{ id }}'
AND include_ancestor_groups = '{{ include_ancestor_groups }}'
AND title = '{{ title }}'
;