From 132bffcbe164bc3b60208215ddea5bd405605f2b Mon Sep 17 00:00:00 2001 From: Zopanix Date: Mon, 26 Mar 2018 21:04:27 -0400 Subject: [PATCH] Added a myissues option This will allow the user to directly open the my open issues page. This will make it easier for the user to open his open issues in jira. --- plugins/jira/jira.plugin.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/jira/jira.plugin.zsh b/plugins/jira/jira.plugin.zsh index 052481a60..e03bda90e 100644 --- a/plugins/jira/jira.plugin.zsh +++ b/plugins/jira/jira.plugin.zsh @@ -44,6 +44,9 @@ function jira() { open_command "${jira_url}/secure/CreateIssue!default.jspa" elif [[ "$action" == "assigned" || "$action" == "reported" ]]; then _jira_query $@ + elif [[ "$action" == "myissues" ]]; then + echo "Opening my issues" + open_command "${jira_url}/issues/?filter=-1" elif [[ "$action" == "dashboard" ]]; then echo "Opening dashboard" if [[ "$JIRA_RAPID_BOARD" == "true" ]]; then