Other Commands
Make authenticated requests to any Redmine REST API endpoint:
# GET the current userredmine api /users/current.json
# GET with query parametersredmine api /issues.json -f project_id=myproject -f limit=5
# POST with JSON fields (method auto-detected)redmine api /issues.json -F 'issue[subject]=Bug report' -F 'issue[project_id]=1'
# POST from a file (use - for stdin)redmine api /issues.json --input body.json
# Explicit HTTP methodredmine api -X DELETE /issues/123.json
# Show response headersredmine api /issues.json -i
# Suppress outputredmine api -X PUT /issues/123.json -F 'issue[status_id]=5' --silent| Flag | Short | Description |
|---|---|---|
--method | -X | HTTP method (default: GET, or POST when body provided) |
--field | -f | Query parameter as key=value (repeatable) |
--raw-field | -F | JSON body field as key=value (repeatable) |
--input | Read request body from file (- for stdin) | |
--include | -i | Show response status line and headers |
--silent | Suppress response output |
JSON responses are pretty-printed when stdout is a terminal. Non-2xx responses still print the body but exit with code 1.
Categories
Section titled “Categories”List issue categories for a project:
redmine categories list --project <identifier>Trackers
Section titled “Trackers”List all available trackers:
redmine trackers listStatuses
Section titled “Statuses”List all issue statuses:
redmine statuses listShell Completion
Section titled “Shell Completion”Generate completion scripts for your shell:
# Bashredmine completion bash > /etc/bash_completion.d/redmine
# Zshredmine completion zsh > "${fpath[1]}/_redmine"
# Fishredmine completion fish > ~/.config/fish/completions/redmine.fishSelf-Update
Section titled “Self-Update”redmine updateChecks GitHub for the latest release, downloads it with SHA256 checksum verification, and replaces the current binary. If installed via Homebrew, delegates to brew upgrade.