Repository navigation
feat(cli): quick status-transition aliases start/done/block/review (#144) - #145
Merged
Merged
Conversation
) Top-level aliases for the most frequent workflow action, ported from the June draft branch onto the current machinery: each alias resolves the transition through the same case-insensitive matching and screen-field handling as 'issue update --status' and points to that command when a transition needs field values. Also fixes the pre-existing 'budjira update issue' wording (update is the self-update command) in issue.py hints and docstrings.
…144) - lift the validator-rejection handling out of update_issue into _execute_transition so the aliases attribute Jira's anonymous validator messages to screen fields exactly like issue update --status - the alias hint now distinguishes: missing screen fields -> issue update with fields; anything else (e.g. unavailable transition) -> issue transitions, instead of pointing at a command that fails identically - fix the remaining 'budjira update transitions' docstring (same wording bug class)
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
Revives the unmerged June draft as #144: top-level aliases for the most frequent workflow action.
budjira start ISSUE→ In Progress,budjira done→ Done,budjira block→ Blocked,budjira review→ In Review (each with--connection/-c)issue update --statusmachinery: same case-insensitive transition matching against the issue's available transitions, same required-screen-field handlingbudjira issue transitions_execute_transition, so aliases report those errors exactly likeissue update --statusbudjira update issue/transitionswording in hints and docstrings —budjira updateis the CLI self-update command; canonical isbudjira issue updateVerification
Fixes #144