Skip to content

feat: add post_space_attachment, delete_issue_comment, delete_issue_attachment tools#112

Open
ThuanD wants to merge 1 commit into
nulab:mainfrom
ThuanD:feat/attachment-upload-and-delete-tools
Open

feat: add post_space_attachment, delete_issue_comment, delete_issue_attachment tools#112
ThuanD wants to merge 1 commit into
nulab:mainfrom
ThuanD:feat/attachment-upload-and-delete-tools

Conversation

@ThuanD
Copy link
Copy Markdown

@ThuanD ThuanD commented May 13, 2026

Summary

Adds three tools that enable a complete attachment workflow and comment/attachment cleanup:

  • post_space_attachment (space toolset) — Uploads a file to Backlog space. Supports local file path or base64-encoded content. Returns attachment ID for use with
    add_issue_comment or update_issue.
  • delete_issue_comment (issue toolset) — Deletes a comment from an issue.
  • delete_issue_attachment (issue toolset) — Deletes an attachment from an issue.

Motivation

We use this MCP server in our AI-assisted development workflow. When agents fix bugs, they need to attach evidence (screenshots, API response diffs) to Backlog issues. Currently the
server can create comments but cannot upload files or clean up outdated comments/attachments. These three tools close that gap.

All tools follow existing patterns (resolveIdOrKey, buildToolSchema, TranslationHelper, outputSchema).

Test plan

  • npm test — all 347 tests pass (16 new)
  • npm run lint — clean
  • npm run format — clean
  • Tested full CRUD flow against real Backlog API

@ThuanD ThuanD force-pushed the feat/attachment-upload-and-delete-tools branch from c31ca85 to 8317b73 Compare May 15, 2026 07:58
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.

1 participant