LearnNewsExamplesServices
Frontmatter
id7629
titleImplement `unassign_issue` Tool to Remove Specific Contributors
stateClosed
labels
enhancementai
assigneestobiu
createdAtOct 23, 2025, 6:07 PM
updatedAtOct 23, 2025, 6:20 PM
githubUrlhttps://github.com/neomjs/neo/issues/7629
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 23, 2025, 6:20 PM

Implement unassign_issue Tool to Remove Specific Contributors

Closed v11.0.0 enhancementai
tobiu
tobiu commented on Oct 23, 2025, 6:07 PM

Currently, we can add assignees or clear all assignees from an issue. However, we lack the functionality to remove one or more specific contributors while leaving others assigned. This is a necessary feature for complete assignee management.

Proposed Solution

Create a new tool named unassign_issue that removes a specified list of assignees from an issue.

1. Update OpenAPI Spec:

  • In ai/mcp/server/github-workflow/openapi.yaml, add a delete operation to the /issues/{issue_number}/assignees path.
  • The operationId will be unassign_issue.
  • The request body will take an assignees array (the logins to remove).

2. Update IssueService.mjs:

  • Create a new unassignIssue method.
  • This method must perform the same permission check as the assignIssue tool, verifying the user has ADMIN, MAINTAIN, or WRITE permissions by checking RepositoryService.viewerPermission.
  • If the check passes, the method will use the gh issue edit <number> --remove-assignee <login> command to remove the specified users.

3. Update toolService.mjs:

  • Add unassign_issue to the serviceMapping to expose the new method as a tool.
tobiu assigned to @tobiu on Oct 23, 2025, 6:07 PM
tobiu added the enhancement label on Oct 23, 2025, 6:07 PM
tobiu added the ai label on Oct 23, 2025, 6:07 PM
tobiu referenced in commit fa7cc2a - "Implement unassign_issue Tool to Remove Specific Contributors #7629" on Oct 23, 2025, 6:19 PM
tobiu closed this issue on Oct 23, 2025, 6:20 PM