浏览代码

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 年之前
父节点
当前提交
132bffcbe1
共有 1 个文件被更改,包括 3 次插入0 次删除
  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