Created
October 16, 2025 21:38
-
-
Save chr0n1x/321a5c731c1da2fe8abc9462969a5729 to your computer and use it in GitHub Desktop.
jira-cli pet snippets
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
| # designed to be used with https://gist.github.com/chr0n1x/a61fc150d352d097169c5e68b3155947 | |
| [[Snippets]] | |
| Description = "jira-cli: list !Done issues assigned to me, ordered by created date" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issues list -a $(jira me) -q 'Status != Done' --order-by Created" | |
| [[Snippets]] | |
| Description = "jira-cli: fetch LATEST created open ticket assigned to me" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issues list -a $(jira me) -q 'Status != Done' --order-by Created | head -n2 | tail -n1 | awk '{print $2}'" | |
| [[Snippets]] | |
| Description = "jira-cli: view the JIRA_CW_ISSUE set by my scripts https://gist.github.com/chr0n1x/a61fc150d352d097169c5e68b3155947" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issue view $JIRA_CW_ISSUE" | |
| [[Snippets]] | |
| Description = "jira-cli: self-assign cw-issue" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issue edit $JIRA_CW_ISSUE --no-input --assignee \"$JIRA_ME_NAME\"" | |
| [[Snippets]] | |
| Description = "jira-cli: move CW issue to in-progress" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issue move $JIRA_CW_ISSUE \"In Progress\"" | |
| [[Snippets]] | |
| Description = "jira-cli: manually add worklog for CW issue" | |
| Output = "" | |
| Tag = ["jira"] | |
| command = "jira issue worklog add $JIRA_CW_ISSUE \"TIME\" --comment \"\"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment