| name | easyredmine-cli Quickstart |
| description | Interact with EasyRedmine (Simpliciti) via the Redmine API — read issues, post comments, edit descriptions, change status, assign users, search project members, self-update, and smart-search across all open issues. |
easyredmine-cli Quickstart
Overview
easyredmine-cli interacts with EasyRedmine (Simpliciti) via the Redmine API. JSON output by default. No interactive prompts. Auth via config file or EASYREDMINE_API_KEY env var.
Commands
sc easyredmine issue show <id>
Read issue details (JSON output by default).
sc easyredmine issue show 61809
sc easyredmine issue show 61809 --human
sc easyredmine issue comment <id> --text "<text>"
Add a comment. JSON response by default.
sc easyredmine issue comment 61809 --text "Comment from agent"
sc easyredmine issue edit <id> --description "<text>"
Edit description. JSON response by default.
sc easyredmine issue edit 61809 --description "<p>Updated</p>"
sc easyredmine issue status <id> --status-id <status_id>
Change issue status. JSON response by default.
sc easyredmine issue status 61809 --status-id 51
sc easyredmine issue assign <id> --assigned-to-id <user_id>
Assign issue to a user. JSON response by default.
sc easyredmine issue assign 61809 --assigned-to-id 199
sc easyredmine user search "<query>" --project-id <id>
Search users, groups, and roles within a project. JSON response by default.
sc easyredmine user search "QA" --project-id 1111
sc easyredmine user search "ENVIRONNEMENT" --project-id 1111
Agent workflow: When asked to "Assign to QA", search first to get the ID, then assign:
sc easyredmine user search "QA" --project-id 1111
sc easyredmine issue assign 62507 --assigned-to-id 46
sc easyredmine update [--check-only]
Check for updates from GitHub releases and optionally auto-update the global installation.
sc easyredmine update --check-only
sc easyredmine update
Note: If no GitHub releases exist yet (new repository), the command provides manual update instructions.
sc easyredmine issue search "<phrase>"
Smart search across all open issues. Breaks phrase into words, matches each word against issue subjects, deduplicates, and ranks by number of word matches.
sc easyredmine issue search "correction statut message"
sc easyredmine issue search "correction statut" --limit 5 --human
| Flag | Default | Purpose |
|---|
--limit | 20 | Max results |
--offset | 0 | Result offset |
--status | open | Status filter (open, *, or numeric ID) |
--current-month | false | Only issues updated this month (API-side filter, ~3s) |
--current-year | false | Only issues updated this year (API-side filter, ~15s) |
--after | — | Only issues updated after YYYY-MM-DD (API-side filter) |
--min-matches | 1 | Minimum word matches to include |
Performance tip: Use --current-month when possible. It fetches ~100 issues (1 page) instead of 3,630 (37 pages) — 30x faster. Progress events on stderr.
Auth
Three ways, highest precedence first:
EASYREDMINE_API_KEY env var (best for agents — no config file needed)
EASYREDMINE_BASE_URL env var overrides base URL
- Config file at
~/.config/easyredmine-cli/config.json
easyredmine-cli config set --api-key <key>
EASYREDMINE_API_KEY=<key> sc easyredmine issue show 61809
Semantic exit codes
Errors on stderr as structured JSON. Agents use exit code to decide next action:
85 → fix input/args
92 → resource not found, try different ID
105 → transient API error, retry with backoff