feat(jira): add Jira CLI first-class filter with full test coverage#2353
Closed
joaojordy-caylent wants to merge 11 commits into
Closed
feat(jira): add Jira CLI first-class filter with full test coverage#2353joaojordy-caylent wants to merge 11 commits into
joaojordy-caylent wants to merge 11 commits into
Conversation
Implement Jira CLI command output compression for various subcommands including issue, sprint, and board management. Focus on optimizing JSON parsing to reduce token usage significantly.
Author
|
@aeppling @pszymkowiak @KuSh @FlorianBruniaux — requesting your review on this PR. It adds a first-class Jira CLI filter (Atlassian |
Added Jira commands to the README for issue tracking.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Update — branch fixes (2026-06-16) Three compile errors fixed after install attempt:
Test result: 34/34 pass (description said 18 — count was stale from before the coverage expansion commit). Branch is clean: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
jiraCLI (github.com/ankitpokhrel/jira-cli) as a first-class RTK filter, proxying all verbosity from the Atlassian tool to reduce MCP connector token consumption by 80-90%.src/cmds/atlassian/jira_cmd.rs— full Rust filter module:issue list,issue view,issue create,sprint list,board list; unknown subcommands passthrough unchangedsrc/cmds/atlassian/mod.rs— module registry for the new atlassian familysrc/cmds/mod.rs— registerspub mod atlassiansrc/main.rs— addsCommands::Jiravariant + dispatch tojira_cmd::run()src/discover/rules.rs— adds auto-rewrite rule:jira issue/sprint/board→rtk jiratests/fixtures/jira_issue_list_raw.txt— raw fixture for unit testsToken savings
jira issue list(5 issues)jira issue view PROJ-123jira sprint listjira board listFiltering strategies applied
CAP_LISTitems withforce_tee_tail_hintrecovery--json,--yaml,--raw,--debugflags bypass filtering; unknown subcommands run unmodifiedTest plan
format_issue_list,format_issue_view,format_sprint_list,format_board_list,has_output_flag)cargo fmt --all --check && cargo clippy --all-targets && cargo testmust passcargo fmt --all --checkcleancargo clippy --all-targets— 0 errorscargo test— all tests passrtk rewrite "jira issue list"→rtk jira issue list