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
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID or URL-encoded path | |
| issue_iid | Yes | The internal ID of the project issue | |
| title | No | The title of the issue | |
| description | No | The description of the issue | |
| assignee_ids | No | Array of user IDs to assign issue to | |
| confidential | No | Set the issue to be confidential | |
| discussion_locked | No | Flag to lock discussions | |
| due_date | No | Date the issue is due (YYYY-MM-DD) | |
| labels | No | Array of label names | |
| milestone_id | No | Milestone ID to assign | |
| state_event | No | Update issue state (close/reopen) | |
| weight | No | Weight of the issue (0-9) |
Implementation Reference
- schemas.ts:1018-1031 (schema)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)"), });