Skip to main content
Glama

list_group_iterations

Retrieve and filter GitLab group iterations by state, search terms, or timeframe to manage project timelines and track progress.

Instructions

List group iterations with filtering options

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
group_idNoGroup ID or URL-encoded path
stateNoReturn opened, upcoming, current, closed, or all iterations.
searchNoReturn only iterations with a title matching the provided string.
search_inNoFields in which fuzzy search should be performed with the query given in the argument search. The available options are title and cadence_title. Default is [title].
include_ancestorsNoInclude iterations for group and its ancestors. Defaults to true.
include_descendantsNoInclude iterations for group and its descendants. Defaults to false.
updated_beforeNoReturn only iterations updated before the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
updated_afterNoReturn only iterations updated after the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z).
pageNoPage number for pagination (default: 1)
per_pageNoNumber of items per page (max: 100, default: 20)

Implementation Reference

  • Input schema (parameters) for the 'list_group_iterations' tool, defining validation for group_id and optional filters like state, search, pagination matching GitLab Groups Iterations API.
    export const ListGroupIterationsSchema = z .object({ group_id: z.coerce.string().describe("Group ID or URL-encoded path"), state: z .enum(["opened", "upcoming", "current", "closed", "all"]) .optional() .describe("Return opened, upcoming, current, closed, or all iterations."), search: z .string() .optional() .describe("Return only iterations with a title matching the provided string."), search_in: z .array(z.enum(["title", "cadence_title"])) .optional() .describe( "Fields in which fuzzy search should be performed with the query given in the argument search. The available options are title and cadence_title. Default is [title]." ), include_ancestors: z.boolean() .optional() .describe("Include iterations for group and its ancestors. Defaults to true."), include_descendants: z.boolean() .optional() .describe("Include iterations for group and its descendants. Defaults to false."), updated_before: z .string() .optional() .describe( "Return only iterations updated before the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z)." ), updated_after: z .string() .optional() .describe( "Return only iterations updated after the given datetime. Expected in ISO 8601 format (2019-03-15T08:00:00Z)." ), }) .merge(PaginationOptionsSchema);
  • Output schema defining the structure of a GitLab Group Iteration object returned by the 'list_group_iterations' tool.
    export const GroupIteration = z.object({ id: z.coerce.string(), iid: z.coerce.string(), sequence: z.number(), group_id: z.coerce.string(), title: z.string().optional().nullable(), description: z.string().optional().nullable(), state: z.number(), created_at: z.string(), updated_at: z.string(), due_date: z.string().optional().nullable(), start_date: z.string().optional().nullable(), web_url: z.string().optional().nullable(), });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zereight/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server