132bffcbe164bc3b60208215ddea5bd405605f2b

Author
Zopanix <zopanix@gmail.com>
Committer
Zopanix <zopanix@gmail.com>
Date

Message

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.

Diff

 1diff --git a/plugins/jira/jira.plugin.zsh b/plugins/jira/jira.plugin.zsh
 2index 052481a60c74a4cd61702bcbad61815712eecc6f..e03bda90e0dcd3d465a6cd081eccfb976df9fb1a 100644
 3--- a/plugins/jira/jira.plugin.zsh
 4+++ b/plugins/jira/jira.plugin.zsh
 5@@ -44,6 +44,9 @@ function jira() {
 6     open_command "${jira_url}/secure/CreateIssue!default.jspa"
 7   elif [[ "$action" == "assigned" || "$action" == "reported" ]]; then
 8     _jira_query $@
 9+  elif [[ "$action" == "myissues" ]]; then
10+    echo "Opening my issues"
11+    open_command "${jira_url}/issues/?filter=-1"
12   elif [[ "$action" == "dashboard" ]]; then
13     echo "Opening dashboard"
14     if [[ "$JIRA_RAPID_BOARD" == "true" ]]; then