@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 +27 -8
- package/dist/cli.js +55 -52
- package/dist/index.js +26 -26
- package/package.json +3 -3
- package/templates-system/locales/pl/comments/blocker-notification.md +26 -0
- package/templates-system/locales/pl/comments/bug-report.md +28 -0
- package/templates-system/locales/pl/comments/deployment-note.md +24 -0
- package/templates-system/locales/pl/comments/handoff-transition.md +28 -0
- package/templates-system/locales/pl/comments/review-request.md +26 -0
- package/templates-system/locales/pl/comments/sprint-update.md +24 -0
- package/templates-system/locales/pl/comments/status-update.md +24 -0
- package/templates-system/locales/pl/comments/time-log-summary.md +19 -0
package/README.md
CHANGED
|
@@ -4,17 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://github.com/softspark/jira-mcp/actions/workflows/ci.yml)
|
|
6
6
|
[](https://www.npmjs.com/package/@softspark/jira-mcp)
|
|
7
|
-
[](CHANGELOG.md)
|
|
8
8
|
[](LICENSE)
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
12
|
-
## What's New in v1.
|
|
12
|
+
## What's New in v1.14.0
|
|
13
13
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
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 **
|
|
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,
|
|
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
|
|