hirotm releases commands list them, show one, create or edit them, set which release is the board default for new tasks, or remove them. Global options and output modes: hirotm CLI.
Listing and show need readBoard on that board. Add, update, set-default, and delete need manageStructure—see CLI access policy.
Use Boards for board slugs and ids. Task commands use releases when you set --release or --release-id—see Tasks. For shared flags (--profile, --client-name), see hirotm CLI.
Access policy
If the CLI is not allowed to do something, the command fails with an error message.
Release operations
releases list
List releases on the chosen board.
Sort: created time ascending, then releaseId ascending (oldest release first). See Default sort order.
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
--limit <n> | integer | Page size (omit for one full response). | |
--offset <n> | integer | Skip this many releases (default 0). | |
--page-all | flag | Merge all pages (--limit or 500 per request). | |
--count-only | flag | Total releases only (Paging); not with --limit, --offset, --page-all, or --fields. | |
--fields <keys> | string | Comma-separated API keys per row. Allowed: releaseId, name, color, releaseDate, createdAt. See Field projection. |
-q / --quiet (with --format ndjson); default field releaseId. See Pipe-friendly quiet.
CLI Examples
List all releases on board sprint.
releases show
Print one release by id. The CLI loads the board’s releases (following pagination on the API as needed) and picks the matching id (same result shape as a single element inside releases list’s items).
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
<release-id> | integer | Release id. | |
--fields <keys> | string | Comma-separated API keys on the printed release object. Allowed: releaseId, name, color, releaseDate, createdAt. See Field projection. |
Show release 1 on board sprint.
releases add
Create a release. The name must be unique on that board.
If that name is already taken, the API returns 409 Conflict; hirotm then exits 5 with code: conflict on stderr (see Errors & exit codes). The error text is A release with this name already exists on this board.
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
--name <text> | string | Release name (unique per board). | |
--color <css> | string | Optional color (CSS). | |
--clear-color | flag | Create with no color. | |
--release-date <text> | string | Optional date label (for example YYYY-MM-DD). | |
--clear-release-date | flag | No release date. |
Add release "Hotfix May" on board sprint with no date.
releases update
Change name, color, and/or release date. At least one change flag is required.
Renaming to a name that already exists on the board returns 409 (same conflict / exit 5 behavior as releases add). If the release id does not exist on that board, the API returns 404 (not_found / exit 3).
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
<release-id> | integer | Release id. | |
--name <text> | string | New name. | |
--color <css> | string | Color (CSS). | |
--clear-color | flag | Remove color. | |
--release-date <text> | string | Release date. | |
--clear-release-date | flag | Clear release date. |
Rename release 2 on board sprint to v2.0 beta.
releases set-default
Set or clear the board’s default release (defaultReleaseId). That is the release used when the board’s auto-assign rules apply and a new task is created without an explicit release. The CLI issues PATCH /api/boards/:id (not the releases sub-resource). If you pass a <release-id>, the CLI checks it exists on the board before PATCHing; otherwise you get Release not found (exit 3) instead of a generic 404.
Do not pass <release-id> together with --clear.
| Option / argument | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
<release-id> | integer | Release id to use as the default (omit when using --clear). | |
--clear | flag | Clear the board default release. |
Set the board default release to release 2 on board sprint (non-interactive).
releases delete
Remove a release. Tasks on that release become untagged unless you pass --move-tasks-to with another release id on the same board.
| Option | Type | Required | Description |
|---|---|---|---|
--board <id-or-slug> | string | Board id or slug. | |
<release-id> | integer | Release id to delete. | |
--move-tasks-to <id> | integer | Move tasks to this release id before deleting. | |
-y, --yes | flag | Skip the confirmation prompt. |
Delete release 3 on board sprint; move tasks to release 1 (non-interactive).
Learn more
Runhirotm help releases or hirotm help releases <subcommand> for the full help text in your installed CLI.