Browse Source

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.
Zopanix 7 years ago
parent
commit
132bffcbe1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      plugins/jira/jira.plugin.zsh

+ 3 - 0
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