All tools

Comment on a Jira work item

Adds a comment to a Jira work item and returns the new comment.

View on GitHub
Updated Sep 27, 2026Available asMCPCLIAPI

Description

On the API the comment `body` is Atlassian Document Format; the CLI takes `--key` and a plain-text or ADF `--body`, and can comment on every work item a `--jql` query matches. `addOrEditJiraIssueComment` also edits an existing comment.

comment-on-jira-work-item.md

Comment on a Jira work item

Adds a comment to a Jira work item and returns the new comment.

On the API the comment body is Atlassian Document Format; the CLI takes --key and a plain-text or ADF --body, and can comment on every work item a --jql query matches. addOrEditJiraIssueComment also edits an existing comment.

Set up

Use the first option your agent supports.

MCP (official, remote)

Add this server to your agent's MCP settings, then sign in when asked.

{ "mcpServers": { "atlassian": { "url": "https://mcp.atlassian.com/v2/mcp" } } }

Call the MCP tool addOrEditJiraIssueComment.

Server URL: https://mcp.atlassian.com/v2/mcp

CLI (official)

Install the command, then confirm it runs.

brew tap atlassian/homebrew-acli && brew install acli
acli --version

Run acli jira workitem comment create.

API (official)

Before doing anything else, make one read-only call to confirm access.

Rules

  • Ask the user before anything that sends messages, costs money, or changes data.
  • Never print API keys.

Built from these files in the repository

The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.

Ways in

RouteSourceCallRequiredDocs
MCPOfficial · remoteaddOrEditJiraIssueCommentOAuthDocs
CLIOfficialacli jira workitem comment createOAuthDocs
APIOfficialPOST /rest/api/3/issue/{issueIdOrKey}/commentAPI key in $ATLASSIAN_API_KEYDocs

Workflows using Comment on a Jira work item

No workflows yet
No published workflow uses Comment on a Jira work item yet.