v0.31.0¶
Released: 2026-06-14
Highlights¶
This release adds a comments command to the CLI, includes description in JSON output, and provides a --raw flag for full API JSON. It also refactors shared code between CLI and MCP server to eliminate duplication.
New Features¶
Comments Command¶
New gojira comments command to retrieve comment threads for Jira issues:
# Get comments for an issue
gojira comments ISSUE-123
# Limit to 10 comments
gojira comments ISSUE-123 --max 10
Output:
{
"key": "ISSUE-123",
"total": 3,
"comments": [
{
"id": "10001",
"author": "John Doe",
"body": "Started working on this.",
"created": "2024-01-15T10:30:00.000+0000"
}
]
}
See comments command documentation for details.
Description in JSON Output¶
The gojira get command now includes the issue description in JSON output by default:
Raw JSON Output¶
New --raw flag on the get command outputs the complete Jira API response instead of simplified metadata:
Use this when you need access to all fields including custom fields, comments, or other data not included in the default output.
Changes¶
Refactoring¶
Shared code between CLI and MCP server has been consolidated into the rest package:
- New
rest.IssueOutputtype for unified issue representation - New
rest.CommentResulttype for comment output - New
rest.Client.GetComments()method - New converter functions:
ToIssueOutput(),ToCommentResults()
This eliminates ~150 lines of duplicated code and ensures consistent output between CLI and MCP.
Dependencies¶
- Updated
github.com/grokify/mogoto v0.74.6 - Updated
github.com/grokify/goauthto v0.23.30 - Updated indirect dependencies
Installation¶
Full Changelog¶
- feat(rest): add Description field to IssueMeta
- feat(rest): add shared types and converters for CLI and MCP
- feat(rest): add GetComments method to Client
- feat(cli): add Description to output and --raw flag for full JSON
- feat(cli): add comments command
- refactor(mcp): use shared converters from rest package
- docs: add documentation for comments command and --raw flag
- chore(deps): update indirect dependencies