Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 18, 2026

Implements GitLab API's thread resolution for issue discussions via update_issue_note, bringing parity with merge request discussion functionality.

Changes

  • Schema (UpdateIssueNoteSchema): Added optional resolved: boolean field with mutual exclusivity validation (only body XOR resolved per GitLab API)
  • Function (updateIssueNote): Changed signature to accept optional body and resolved parameters, conditional payload construction
  • Handler: Updated tool invocation to pass resolved parameter

Usage

{
  "name": "update_issue_note",
  "arguments": {
    "project_id": "org/repo",
    "issue_iid": "42",
    "discussion_id": "abc123",
    "note_id": "456",
    "resolved": true
  }
}

API: PUT /projects/:id/issues/:issue_iid/discussions/:discussion_id/notes/:note_id

Pattern matches update_merge_request_discussion_note implementation for consistency.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.gitlab.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>update_issue_note support resolve</issue_title>
<issue_description>https://docs.gitlab.com/api/discussions/#resolve-an-issue-thread</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits January 18, 2026 14:20
Co-authored-by: zereight <42544600+zereight@users.noreply.github.com>
Co-authored-by: zereight <42544600+zereight@users.noreply.github.com>
Co-authored-by: zereight <42544600+zereight@users.noreply.github.com>
Copilot AI changed the title [WIP] Update issue note support to resolve threads Add resolve/unresolve support to update_issue_note Jan 18, 2026
Copilot AI requested a review from zereight January 18, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update_issue_note support resolve

2 participants