Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
31c2dc32
Unverified
Commit
31c2dc32
authored
May 21, 2020
by
Dmitry
Committed by
GitHub
May 21, 2020
Browse files
jira: add tempo command (#8928)
parent
9050ed34
Changes
3
Hide whitespace changes
Inline
Side-by-side
plugins/jira/README.md
View file @
31c2dc32
...
...
@@ -19,6 +19,7 @@ jira # performs the default action
jira new # opens a new issue
jira dashboard # opens your JIRA dashboard
jira tempo # opens your JIRA Tempo
jira reported [username] # queries for issues reported by a user
jira assigned [username] # queries for issues assigned to a user
jira myissues # queries for you own issues
...
...
plugins/jira/_jira
View file @
31c2dc32
...
...
@@ -5,6 +5,7 @@ local -a _1st_arguments
_1st_arguments=(
'new:create a new issue'
'dashboard:open the dashboard'
'tempo:open the tempo'
'reported:search for issues reported by a user'
'assigned:search for issues assigned to a user'
'branch:open the issue named after the git branch of the current directory'
...
...
plugins/jira/jira.plugin.zsh
View file @
31c2dc32
...
...
@@ -54,6 +54,9 @@ function jira() {
else
open_command
"
${
jira_url
}
/secure/Dashboard.jspa"
fi
elif
[[
"
$action
"
==
"tempo"
]]
;
then
echo
"Opening tempo"
open_command
"
${
jira_url
}
/secure/Tempo.jspa"
elif
[[
"
$action
"
==
"dumpconfig"
]]
;
then
echo
"JIRA_URL=
$jira_url
"
echo
"JIRA_PREFIX=
$jira_prefix
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment