Issues

July 5, 2026 ยท View on GitHub

Issue CRUD, links, discussions and notes, todos, and emoji reactions.

Tools in this group


create_issue

โœ๏ธ Writes

Create a new issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
titlestringโœ“Issue title
descriptionstringIssue description
assignee_idsarrayArray of user IDs to assign
labelsarrayArray of label names
milestone_idstringMilestone ID to assign
issue_typeenum (issue | incident | test_case | task)The type of issue. One of issue, incident, test_case or task.
weightnumberWeight of the issue (numeric, typically hours of work)

list_issues

๐Ÿ“– Read-only

List issues (default: created by current user; use scope='all' for all)

Parameters

ParameterTypeRequiredDescription
project_idstringProject ID or URL-encoded path (optional - if not provided, lists issues across all accessible projects)
assignee_idstringReturn issues assigned to the given user ID (user id, none, or any). Mutually exclusive with assignee_username.
assignee_usernamearrayReturn issues assigned to the given username. Mutually exclusive with assignee_id.
author_idstringReturn issues created by the given user ID. Mutually exclusive with author_username.
author_usernamestringReturn issues created by the given username. Mutually exclusive with author_id.
confidentialbooleanFilter confidential or public issues
created_afterstringReturn issues created after the given time
created_beforestringReturn issues created before the given time
due_datestringReturn issues that have the due date
labelsarrayArray of label names
milestonestringMilestone title
issue_typeenum (issue | incident | test_case | task)Filter to a given type of issue. One of issue, incident, test_case or task
iteration_idstringReturn issues assigned to the given iteration ID. None returns issues that do not belong to an iteration. Any returns issues that belong to an iteration.
scopeenum (created_by_me | assigned_to_me | all)Return issues from a specific scope
searchstringSearch for specific terms
stateenum (opened | closed | all)Return issues with a specific state
updated_afterstringReturn issues updated after the given time
updated_beforestringReturn issues updated before the given time
with_labels_detailsbooleanReturn more details for each label
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

my_issues

๐Ÿ“– Read-only

List issues assigned to the authenticated user

Parameters

ParameterTypeRequiredDescription
project_idstringProject ID or URL-encoded path (optional to search across all accessible projects)
stateenum (opened | closed | all)Return issues with a specific state (default: opened)
labelsarrayArray of label names to filter by
milestonestringMilestone title to filter by
searchstringSearch for specific terms in title and description
created_afterstringReturn issues created after the given time (ISO 8601)
created_beforestringReturn issues created before the given time (ISO 8601)
updated_afterstringReturn issues updated after the given time (ISO 8601)
updated_beforestringReturn issues updated before the given time (ISO 8601)
per_pagenumberNumber of items per page (default: 20, max: 100)
pagenumberPage number for pagination (default: 1)

get_issue

๐Ÿ“– Read-only

Get details of a specific issue. Returns a slim milestone by default; set full_response=true for the complete milestone object

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of the project issue
full_responsebooleanIf true, return the complete issue object including the full milestone description. Default returns a slim milestone (id, iid, title, state, web_url) to reduce token usage.

update_issue

โœ๏ธ Writes

Update an issue. Returns a slim confirmation by default; set full_response=true for the complete updated issue object

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of the project issue
titlestringThe title of the issue
descriptionstringThe description of the issue
assignee_idsarrayArray of user IDs to assign issue to
confidentialbooleanSet the issue to be confidential
discussion_lockedbooleanFlag to lock discussions
due_datestringDate the issue is due (YYYY-MM-DD)
labelsarrayArray of label names
milestone_idstringMilestone ID to assign
state_eventenum (close | reopen)Update issue state (close/reopen)
weightnumberWeight of the issue (numeric, typically hours of work)
issue_typeenum (issue | incident | test_case | task)The type of issue. One of issue, incident, test_case or task.
full_responsebooleanIf true, return the complete updated issue object. Default returns a slim confirmation (iid, title, state, web_url, updated_at) to reduce token usage.

update_issue_description_patch

โœ๏ธ Writes

Apply a patch (search/replace or unified diff) to an issue description. Reduces token usage by allowing small changes without sending the full description. Supports dry_run to preview changes and create_note to summarize updates.

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of the project issue
patch_typeenum (search_replace | unified_diff)โœ“Type of patch format to apply
patchstringโœ“The patch content to apply to the issue description
dry_runbooleanIf true, preview changes without updating the issue
create_notebooleanIf true, add a note summarizing the change after update
allow_multiplebooleanFor search_replace: allow multiple matches to all be replaced (default: false โ€” fail on duplicate)

delete_issue

โœ๏ธ Writes

Delete an issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of the project issue

list_todos

๐Ÿ“– Read-only

List GitLab to-do items for the current user

Parameters

ParameterTypeRequiredDescription
actionenum (assigned | mentioned | build_failed | marked | approval_required | unmergeable | directly_addressed | merge_train_removed | member_access_requested)Filter by to-do action
author_idnumberFilter by author ID
project_idnumberFilter by project ID
group_idnumberFilter by group ID
stateenum (pending | done)Filter by to-do state
typeenum (Issue | MergeRequest | Commit | Epic | DesignManagement::Design | AlertManagement::Alert | Project | Namespace | Vulnerability | WikiPage::Meta)Filter by to-do target type
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

mark_todo_done

โœ๏ธ Writes

Mark a GitLab to-do item as done

Parameters

ParameterTypeRequiredDescription
idnumberโœ“The ID of the to-do item

mark_all_todos_done

โœ๏ธ Writes

Mark all pending GitLab to-do items as done for the current user

Parameters

No parameters.

create_issue_note

โœ๏ธ Writes

Add a note to an issue, optionally replying to a discussion thread

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
discussion_idstringThe ID of a thread. If provided, replies to that thread; otherwise creates a top-level note
bodystringโœ“The content of the note or reply
created_atstringDate the note was created at (ISO 8601 format)

update_issue_note

โœ๏ธ Writes

Modify an existing issue thread note

Parameters

ParameterTypeRequiredDescription
project_idstringProject ID or complete URL-encoded path to project
issue_iidstringThe IID of an issue
discussion_idstringThe ID of a thread
note_idstringThe ID of a thread note
bodystringThe content of the note or reply
resolvedbooleanResolve or unresolve the note

๐Ÿ“– Read-only

List all issue links for a specific issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of a project's issue

list_issue_discussions

๐Ÿ“– Read-only

List discussions for an issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of the project issue
pagenumberPage number for pagination (default: 1)
per_pagenumberNumber of items per page (max: 100, default: 20)

๐Ÿ“– Read-only

Get a specific issue link

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of a project's issue
issue_link_idstringโœ“ID of an issue relationship

โœ๏ธ Writes

Create an issue link between two issues

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of a project's issue
target_project_idstringโœ“The ID or URL-encoded path of a target project
target_issue_iidstringโœ“The internal ID of a target project's issue
link_typeenum (relates_to | blocks | is_blocked_by)The type of the relation, defaults to relates_to

โœ๏ธ Writes

Delete an issue link

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or URL-encoded path
issue_iidstringโœ“The internal ID of a project's issue
issue_link_idstringโœ“The ID of an issue relationship

create_note

โœ๏ธ Writes

Create a new note (comment) to an issue or merge request

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or namespace/project_path
noteable_typeenum (issue | merge_request)โœ“Type of noteable (issue or merge_request)
noteable_iidstringโœ“IID of the issue or merge request
bodystringโœ“Note content

list_issue_emoji_reactions

๐Ÿ“– Read-only

List all emoji reactions on an issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue

list_issue_note_emoji_reactions

๐Ÿ“– Read-only

List all emoji reactions on an issue note. Pass discussion_id for discussion thread replies.

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
note_idstringโœ“The ID of a note (comment or thread reply)
discussion_idstringThe ID of a discussion thread. Required for notes that are discussion replies; omit for top-level notes.

create_issue_emoji_reaction

โœ๏ธ Writes

Add an emoji reaction to an issue (e.g. thumbsup, rocket, eyes)

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
namestringโœ“Name of the emoji without colons (e.g. 'thumbsup', 'rocket', 'eyes')

delete_issue_emoji_reaction

โœ๏ธ Writes

Remove an emoji reaction from an issue

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
award_idstringโœ“The ID of the emoji reaction to delete

create_issue_note_emoji_reaction

โœ๏ธ Writes

Add an emoji reaction to an issue note. Pass discussion_id for discussion thread replies.

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
note_idstringโœ“The ID of a note (comment or thread reply)
discussion_idstringThe ID of a discussion thread. Required for notes that are discussion replies; omit for top-level notes.
namestringโœ“Name of the emoji without colons (e.g. 'thumbsup', 'rocket', 'eyes')

delete_issue_note_emoji_reaction

โœ๏ธ Writes

Remove an emoji reaction from an issue note. Pass discussion_id for discussion thread replies.

Parameters

ParameterTypeRequiredDescription
project_idstringโœ“Project ID or complete URL-encoded path to project
issue_iidstringโœ“The IID of an issue
note_idstringโœ“The ID of a note (comment or thread reply)
discussion_idstringThe ID of a discussion thread. Required for notes that are discussion replies; omit for top-level notes.
award_idstringโœ“The ID of the emoji reaction to delete