Skip to main content
Glama

update_issue

Modify GitLab project issues by updating titles, descriptions, assignees, labels, due dates, milestones, confidentiality settings, and issue states.

Instructions

Update an issue in a GitLab project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesProject ID or URL-encoded path
issue_iidYesThe internal ID of the project issue
titleNoThe title of the issue
descriptionNoThe description of the issue
assignee_idsNoArray of user IDs to assign issue to
confidentialNoSet the issue to be confidential
discussion_lockedNoFlag to lock discussions
due_dateNoDate the issue is due (YYYY-MM-DD)
labelsNoArray of label names
milestone_idNoMilestone ID to assign
state_eventNoUpdate issue state (close/reopen)
weightNoWeight of the issue (0-9)

Implementation Reference

  • Schema defining the input parameters for updating a GitLab issue, which corresponds to the 'update_issue' tool implementation.
    export const UpdateIssueSchema = z.object({ project_id: z.string().describe("Project ID or URL-encoded path"), issue_iid: z.number().describe("The internal ID of the project issue"), title: z.string().optional().describe("The title of the issue"), description: z.string().optional().describe("The description of the issue"), assignee_ids: z.array(z.number()).optional().describe("Array of user IDs to assign issue to"), confidential: z.boolean().optional().describe("Set the issue to be confidential"), discussion_locked: z.boolean().optional().describe("Flag to lock discussions"), due_date: z.string().optional().describe("Date the issue is due (YYYY-MM-DD)"), labels: z.array(z.string()).optional().describe("Array of label names"), milestone_id: z.number().optional().describe("Milestone ID to assign"), state_event: z.enum(["close", "reopen"]).optional().describe("Update issue state (close/reopen)"), weight: z.number().optional().describe("Weight of the issue (0-9)"), });

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/harshmaur/gitlab-mcp'

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