@softspark/jira-mcp 1.12.0 → 1.14.0

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/README.md CHANGED
@@ -4,17 +4,16 @@
4
4
 
5
5
  [![CI](https://github.com/softspark/jira-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/softspark/jira-mcp/actions/workflows/ci.yml)
6
6
  [![npm](https://img.shields.io/npm/v/@softspark/jira-mcp)](https://www.npmjs.com/package/@softspark/jira-mcp)
7
- [![version](https://img.shields.io/badge/version-1.12.0-blue)](CHANGELOG.md)
7
+ [![version](https://img.shields.io/badge/version-1.14.0-blue)](CHANGELOG.md)
8
8
  [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
9
9
 
10
10
  ---
11
11
 
12
- ## What's New in v1.12.0
12
+ ## What's New in v1.14.0
13
13
 
14
- - Nothing changes for this package: same name, same `jira-mcp` binary, same `~/.softspark/jira-mcp/` config path, same 19 tools.
15
- - The repository is now a workspace. Confluence ships separately as [`@softspark/confluence-mcp`](../confluence-mcp), released together with this package under one version.
16
- - Jira and Confluence share one HTTP layer for auth, retry and backoff; each keeps its own error vocabulary.
17
- - Fixed: `jira-mcp config add-project` and `remove-project` rebuilt `config.json` from a fixed field list, discarding `default_language` and, once Confluence spaces existed, the whole `spaces` section.
14
+ - Polish versions of all eight built-in comment templates ship with the package. Until now a templated comment was English on every project, including one configured for another language.
15
+ - `jira-mcp template list-locales` shows which languages are available, and `jira-mcp template install-locale pl` installs them. Add `--keep-english` to keep the originals reachable as `<id>-en`.
16
+ - Released together with `@softspark/confluence-mcp` under one version. See the [changelog](../../CHANGELOG.md).
18
17
 
19
18
  ## Table of Contents
20
19
 
@@ -75,6 +74,8 @@ All configuration lives in `~/.softspark/jira-mcp/` (created by `jira-mcp config
75
74
  | `jira-mcp template list [type]` | List active comment/task templates |
76
75
  | `jira-mcp template show <type> <id>` | Show the active template file content |
77
76
  | `jira-mcp template remove <type> <id>` | Remove a user-installed template override |
77
+ | `jira-mcp template list-locales` | List languages with shipped template translations |
78
+ | `jira-mcp template install-locale <lang> [--keep-english]` | Install the translated comment templates for a language |
78
79
  | `jira-mcp config init` | Initialize global config at `~/.softspark/jira-mcp/` |
79
80
  | `jira-mcp config add-project <key> <url>` | Add a Jira project to config |
80
81
  | `jira-mcp config remove-project <key>` | Remove a project from config |
@@ -151,6 +152,24 @@ jira-mcp template add task ./my-bug-task.md
151
152
  jira-mcp template list
152
153
  ```
153
154
 
155
+ ### Translated templates
156
+
157
+ The shipped templates are English, and a template cannot pick a language at render time: its headings are fixed text in the body. On a project configured for another language, `add_templated_comment` would post an English comment and break the language-first rule.
158
+
159
+ The package ships translations under `templates-system/locales/<lang>/comments/`, installed as overrides:
160
+
161
+ ```bash
162
+ jira-mcp template list-locales
163
+ jira-mcp template install-locale pl
164
+ jira-mcp template install-locale pl --keep-english # installs with several project languages
165
+ ```
166
+
167
+ Each translation keeps the English `id` and the English variable names of the template it replaces, so it overrides cleanly and no existing `add_templated_comment` call breaks. Only the prose changes.
168
+
169
+ Installing a language makes it the default for **every** project, because the choice cannot be made per call. `--keep-english` additionally installs the originals as `<id>-en`, which is what you want when some projects are English and some are not.
170
+
171
+ **Restart your MCP client afterwards.** The template catalog is read once at server startup, so a running server keeps serving the templates it loaded and the next templated comment silently renders the old version.
172
+
154
173
  ## Usage with Claude Code
155
174
 
156
175
  Add to your Claude Code MCP configuration (`~/.claude/claude_desktop_config.json` or project-level):
@@ -181,7 +200,7 @@ Or copy `rules/jira-mcp.md` to your ai-toolkit rules directory manually. The rul
181
200
  - **Sync before read** -- cache may be stale
182
201
  - **Status transitions** -- check valid transitions before changing status
183
202
  - **Time format** -- `"2h 30m"`, never days
184
- - **All 19 MCP tools** and **21 CLI commands** reference
203
+ - **All 19 MCP tools** and **23 CLI commands** reference
185
204
 
186
205
  ### AI Toolkit Hooks
187
206
 
@@ -254,7 +273,7 @@ src/
254
273
 
255
274
  **Typed error hierarchy** -- 26 error classes with machine-readable codes. Every tool returns structured `{ success, error, code }` responses. No stack traces leak to MCP clients.
256
275
 
257
- **Strict TypeScript** -- `strict: true`, no `any`, `readonly` interfaces, Zod validation at all boundaries, 910 tests across 77 test files.
276
+ **Strict TypeScript** -- `strict: true`, no `any`, `readonly` interfaces, Zod validation at all boundaries, 970 tests across 79 test files.
258
277
 
259
278
  ## Documentation
260
279