@softspark/jira-mcp 1.13.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,15 +4,15 @@
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.13.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.13.0
12
+ ## What's New in v1.14.0
13
13
 
14
- - No behaviour change in this package: same 19 tools, same CLI, same config path. It ships because the `{{variable}}` template engine moved into the shared package both servers bundle.
15
- - All the new work is in [`@softspark/confluence-mcp`](../confluence-mcp): page templates and a fix for space keys that are not uppercase.
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
16
  - Released together with `@softspark/confluence-mcp` under one version. See the [changelog](../../CHANGELOG.md).
17
17
 
18
18
  ## Table of Contents
@@ -74,6 +74,8 @@ All configuration lives in `~/.softspark/jira-mcp/` (created by `jira-mcp config
74
74
  | `jira-mcp template list [type]` | List active comment/task templates |
75
75
  | `jira-mcp template show <type> <id>` | Show the active template file content |
76
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 |
77
79
  | `jira-mcp config init` | Initialize global config at `~/.softspark/jira-mcp/` |
78
80
  | `jira-mcp config add-project <key> <url>` | Add a Jira project to config |
79
81
  | `jira-mcp config remove-project <key>` | Remove a project from config |
@@ -150,6 +152,24 @@ jira-mcp template add task ./my-bug-task.md
150
152
  jira-mcp template list
151
153
  ```
152
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
+
153
173
  ## Usage with Claude Code
154
174
 
155
175
  Add to your Claude Code MCP configuration (`~/.claude/claude_desktop_config.json` or project-level):
@@ -180,7 +200,7 @@ Or copy `rules/jira-mcp.md` to your ai-toolkit rules directory manually. The rul
180
200
  - **Sync before read** -- cache may be stale
181
201
  - **Status transitions** -- check valid transitions before changing status
182
202
  - **Time format** -- `"2h 30m"`, never days
183
- - **All 19 MCP tools** and **21 CLI commands** reference
203
+ - **All 19 MCP tools** and **23 CLI commands** reference
184
204
 
185
205
  ### AI Toolkit Hooks
186
206
 
@@ -253,7 +273,7 @@ src/
253
273
 
254
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.
255
275
 
256
- **Strict TypeScript** -- `strict: true`, no `any`, `readonly` interfaces, Zod validation at all boundaries, 953 tests across 78 test files.
276
+ **Strict TypeScript** -- `strict: true`, no `any`, `readonly` interfaces, Zod validation at all boundaries, 970 tests across 79 test files.
257
277
 
258
278
  ## Documentation
259
279