jira version¶
- Usage:
jira version [flags]
Print the installed version. Human output is the bare version string; pass --detailed for a labeled block with commit, branch, and build metadata. Machine modes always carry the full metadata in the envelope, so --detailed only affects human output.
Output¶
--detailed¶
Show labeled commit, branch, and build metadata
Output fields¶
With --output json, the response envelope's data object carries these fields. Run jira agent schema for the full machine-readable schema.
| Field | Type | Description |
|---|---|---|
branch |
string | |
build_by |
string | |
build_time |
string | |
commit |
string | |
summary |
string | |
version |
string |
Examples¶
- Labeled commit, branch, and build metadata
- Keep build metadata parseable for scripts