diff options
author | Zopanix <zopanix@gmail.com> | 2018-03-26 21:04:27 -0400 |
---|---|---|
committer | Zopanix <zopanix@gmail.com> | 2018-03-26 21:04:27 -0400 |
commit | 132bffcbe164bc3b60208215ddea5bd405605f2b (patch) | |
tree | b76dba750f745c7d6b41fe33ce3e3034ab99c464 /plugins/jira | |
parent | 0cec4626219bfd5a163986ebe3745fc31b593446 (diff) | |
download | zsh-132bffcbe164bc3b60208215ddea5bd405605f2b.tar.gz zsh-132bffcbe164bc3b60208215ddea5bd405605f2b.tar.bz2 zsh-132bffcbe164bc3b60208215ddea5bd405605f2b.zip |
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.
Diffstat (limited to 'plugins/jira')
-rw-r--r-- | plugins/jira/jira.plugin.zsh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |