@rui.branco/jira-mcp 1.7.8 → 1.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -810,6 +810,10 @@ function quoteText(text) {
|
|
|
810
810
|
.join("\n");
|
|
811
811
|
}
|
|
812
812
|
|
|
813
|
+
// Appended to comment-tool responses so the client relays the posted text to the user
|
|
814
|
+
const ECHO_DIRECTIVE =
|
|
815
|
+
"IMPORTANT: In your reply to the user, reproduce the blockquoted comment above verbatim (keep the > blockquote) so they see exactly what was posted to Jira. Never reply with just 'comment posted' or a summary of it.";
|
|
816
|
+
|
|
813
817
|
// ============ USER SEARCH & MENTIONS ============
|
|
814
818
|
|
|
815
819
|
// Cache for user lookups to avoid repeated API calls
|
|
@@ -2043,6 +2047,8 @@ const SERVER_INSTRUCTIONS = `# jira-mcp usage rules
|
|
|
2043
2047
|
${confluenceMode !== "always" ? "- Confluence tools are hidden until activated: call `confluence_enable` first when a task needs Confluence (pages, spaces, page comments, labels, attachments).\n" : ""}
|
|
2044
2048
|
## Writing Jira comments (jira_add_comment / jira_reply_comment / jira_edit_comment)
|
|
2045
2049
|
Write one short conversational paragraph: start with @DisplayName of who to notify (NOT [~accountId:...] syntax), say what changed, and end with the next step (e.g. 'Ready for verification.'). Keep it HIGH LEVEL for stakeholders/PO/QA — WHAT changed and the impact, not how it was built. Include technical detail (endpoints, payloads, API contracts) ONLY when the reader is a developer and it makes sense; otherwise leave out code, file paths, branch names, commit hashes, and framework-internal terms. NEVER use em dashes (—) or en dashes (–) — use commas, periods, or rewrite. Avoid bullet lists, headings, and bold unless the update genuinely needs them.
|
|
2050
|
+
Do NOT @mention automation/service accounts (e.g. 'Jira Integrations', bots): when the reporter or notify target is one, write the comment without any mention.
|
|
2051
|
+
After the tool succeeds, its response echoes the posted comment as a markdown blockquote. ALWAYS reproduce that blockquote verbatim in your final reply to the user so they see exactly what was posted to Jira — never reply with just 'comment added' or a paraphrase.
|
|
2046
2052
|
|
|
2047
2053
|
## Writing descriptions (jira_create_ticket / jira_update_ticket / jira_create_subtask)
|
|
2048
2054
|
Structure with Markdown: a one/two-sentence overview, then ## / ### headings (Overview, Details, Acceptance Criteria), '-' bullet lists, numbered steps, tables for structured data, **bold** key terms, fenced \`\`\` blocks for code/payloads. Blank line between blocks. Concise and scannable. Never use em/en dashes.`;
|
|
@@ -3612,7 +3618,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
3612
3618
|
content: [
|
|
3613
3619
|
{
|
|
3614
3620
|
type: "text",
|
|
3615
|
-
text: `Comment added to ${args.issueKey} by ${author} at ${created}:\n\n${postedText}`,
|
|
3621
|
+
text: `Comment added to ${args.issueKey} by ${author} at ${created}:\n\n${postedText}\n\n${ECHO_DIRECTIVE}`,
|
|
3616
3622
|
},
|
|
3617
3623
|
],
|
|
3618
3624
|
};
|
|
@@ -3681,7 +3687,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
3681
3687
|
content: [
|
|
3682
3688
|
{
|
|
3683
3689
|
type: "text",
|
|
3684
|
-
text: `Reply to ${originalAuthor}'s comment posted on ${args.issueKey} by ${author} at ${created}:\n\n${postedText}`,
|
|
3690
|
+
text: `Reply to ${originalAuthor}'s comment posted on ${args.issueKey} by ${author} at ${created}:\n\n${postedText}\n\n${ECHO_DIRECTIVE}`,
|
|
3685
3691
|
},
|
|
3686
3692
|
],
|
|
3687
3693
|
};
|
|
@@ -3706,7 +3712,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
3706
3712
|
content: [
|
|
3707
3713
|
{
|
|
3708
3714
|
type: "text",
|
|
3709
|
-
text: `Comment ${args.commentId} on ${args.issueKey} updated:\n\n${editedText}`,
|
|
3715
|
+
text: `Comment ${args.commentId} on ${args.issueKey} updated:\n\n${editedText}\n\n${ECHO_DIRECTIVE}`,
|
|
3710
3716
|
},
|
|
3711
3717
|
],
|
|
3712
3718
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rui.branco/jira-mcp",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.9",
|
|
4
4
|
"description": "Jira & Confluence MCP server for any MCP-compatible AI client (Claude Code, Codex, Antigravity, Cursor, etc.) - fetch tickets, search with JQL, update tickets, manage comments, change status, get Figma designs. Optional per-tool scopes, dry-run, audit log, and rate limiting.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|