@fatecannotbealtered-/jira-cli 1.0.3 → 1.0.5
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/CHANGELOG.md +15 -1
- package/README.md +11 -6
- package/package.json +1 -1
- package/skills/jira-cli/SKILL.md +17 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.5] - 2026-06-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`issue attachments` download** — the command can now fetch attachment content, not just list metadata. `--out <dir>` downloads all attachments into a directory; add `--id <attachmentId>` to download a single one (exit code 4 if not found). With `--json` it prints `{id, filename, path, mimeType}` per saved file. Downloads stream to disk (handles large files like screen recordings) and validate the content URL points at the configured Jira host. The `attachments --json` listing now also includes the `content` download URL.
|
|
15
|
+
|
|
16
|
+
## [1.0.4] - 2026-05-31
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **`issue get` description** — `description` is now included in the default flat output and selectable via `--fields description` (previously only reachable through `--raw`). Bulk outputs (`issue list`, `search`, `filter run`, `sprint issues`) stay lean and omit `description` by default to preserve token efficiency. Handles both Data Center (plain string) and Cloud/v3 (ADF) descriptions.
|
|
21
|
+
|
|
10
22
|
## [1.0.3] - 2026-05-26
|
|
11
23
|
|
|
12
24
|
### Fixed
|
|
@@ -107,7 +119,9 @@ Initial release of jira-cli for Jira Data Center.
|
|
|
107
119
|
- SKILL.md with JSON output schemas, error codes, exit codes, and complete flag reference.
|
|
108
120
|
- GitHub PR template for contributors.
|
|
109
121
|
|
|
110
|
-
[Unreleased]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.
|
|
122
|
+
[Unreleased]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.5...HEAD
|
|
123
|
+
[1.0.5]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.4...v1.0.5
|
|
124
|
+
[1.0.4]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.3...v1.0.4
|
|
111
125
|
[1.0.3]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.2...v1.0.3
|
|
112
126
|
[1.0.2]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.1...v1.0.2
|
|
113
127
|
[1.0.1]: https://github.com/fatecannotbealtered/jira-cli/compare/v1.0.0...v1.0.1
|
package/README.md
CHANGED
|
@@ -36,22 +36,22 @@ This project is shared for **personal learning, research, and everyday productiv
|
|
|
36
36
|
|
|
37
37
|
### Quick start
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Copy the block below to your agent (or run it yourself):
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
|
+
# Please install jira-cli and use it for all Jira DC operations going forward (always pass --json).
|
|
42
43
|
# Install CLI (requires curl on PATH — used to download the binary)
|
|
43
44
|
npm install -g @fatecannotbealtered-/jira-cli
|
|
44
45
|
|
|
45
|
-
# Install CLI Skill (
|
|
46
|
-
npx skills add fatecannotbealtered/jira-cli -y -g
|
|
47
|
-
jira-cli install-skill # bundled skill → ~/.openclaw/skills
|
|
46
|
+
# Install CLI Skill (required) — copies into your agent-supported skills directory
|
|
47
|
+
npx skills add fatecannotbealtered/jira-cli -y -g
|
|
48
48
|
|
|
49
49
|
# Login and verify
|
|
50
50
|
jira-cli login
|
|
51
|
-
jira-cli doctor --json
|
|
51
|
+
jira-cli doctor --json
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
Optional: `jira-cli install-skill` copies the bundled skill to `~/.openclaw/skills` for OpenClaw-compatible agents.
|
|
55
55
|
|
|
56
56
|
### Alternative: Go install
|
|
57
57
|
|
|
@@ -148,6 +148,9 @@ jira-cli issue worklog list PROJ-123
|
|
|
148
148
|
# Links & Attachments
|
|
149
149
|
jira-cli issue link PROJ-123 --to PROJ-456 --type "blocks"
|
|
150
150
|
jira-cli issue attach PROJ-123 --file ./screenshot.png
|
|
151
|
+
jira-cli issue attachments PROJ-123 # List attachments
|
|
152
|
+
jira-cli issue attachments PROJ-123 --out ./downloads # Download all attachments
|
|
153
|
+
jira-cli issue attachments PROJ-123 --out ./downloads --id 4609477 # Download one by ID
|
|
151
154
|
jira-cli issue remote-link PROJ-123 --url https://pr.url --title "PR #42"
|
|
152
155
|
```
|
|
153
156
|
|
|
@@ -295,6 +298,8 @@ Credentials stored at `~/.jira-cli/config.json` (permissions: 0600):
|
|
|
295
298
|
| `--raw` | `issue get`, `issue list`, `search`, `filter run`, `sprint list`, `sprint issues`, `sprint active` | Return raw Jira API response instead of flat format |
|
|
296
299
|
| `--fields` | `issue get`, `issue list`, `sprint list`, `sprint issues`, `filter run` | **Output trimming** — include only listed fields in flat JSON (e.g. `--fields key,summary,status`) |
|
|
297
300
|
| `--fields` | `search` only | **Jira fetch fields** — comma-separated fields to request from the API (e.g. `--fields summary,status,customfield_10001`); does not trim flat output |
|
|
301
|
+
| `--out` | `issue attachments` | Download attachments into this directory instead of listing (default cwd via the dir you pass); with `--json` prints `{id, filename, path, mimeType}` |
|
|
302
|
+
| `--id` | `issue attachments` | With `--out`, download only the attachment with this ID (exit code 4 if not found) |
|
|
298
303
|
|
|
299
304
|
## Troubleshooting
|
|
300
305
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fatecannotbealtered-/jira-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Full-featured Jira Data Center CLI for humans and AI Agents — manage issues, sprints, boards, epics, projects, users, and filters from your terminal",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jira",
|
package/skills/jira-cli/SKILL.md
CHANGED
|
@@ -8,11 +8,20 @@ metadata: {"openclaw":{"emoji":"🎯","requires":{"bins":["jira-cli"]}}}
|
|
|
8
8
|
|
|
9
9
|
Jira Data Center CLI for humans and AI Agents. Supports **Jira DC only** (self-hosted), not Jira Cloud.
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
```bash
|
|
12
|
+
# Please install jira-cli and use it for all Jira DC operations going forward (always pass --json).
|
|
13
|
+
# Install CLI (requires curl on PATH)
|
|
14
|
+
npm install -g @fatecannotbealtered-/jira-cli
|
|
15
|
+
|
|
16
|
+
# Install CLI Skill (required) — copies into your agent-supported skills directory
|
|
17
|
+
npx skills add fatecannotbealtered/jira-cli -y -g
|
|
18
|
+
|
|
19
|
+
# Login and verify
|
|
20
|
+
jira-cli login
|
|
21
|
+
jira-cli doctor --json
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
Optional: `jira-cli install-skill` → `~/.openclaw/skills`.
|
|
16
25
|
|
|
17
26
|
## Prerequisites
|
|
18
27
|
|
|
@@ -100,7 +109,9 @@ jira-cli issue remote-links PROJ-123 --json
|
|
|
100
109
|
|
|
101
110
|
# Attachments
|
|
102
111
|
jira-cli issue attach PROJ-123 --file ./screenshot.png
|
|
103
|
-
jira-cli issue attachments PROJ-123 --json
|
|
112
|
+
jira-cli issue attachments PROJ-123 --json # list metadata (incl. content URL)
|
|
113
|
+
jira-cli issue attachments PROJ-123 --out ./dl --json # download all -> [{id,filename,path,mimeType}]
|
|
114
|
+
jira-cli issue attachments PROJ-123 --out ./dl --id 4609477 # download a single attachment by ID
|
|
104
115
|
```
|
|
105
116
|
|
|
106
117
|
## Search (JQL)
|