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
Ohmyzsh
Commits
81ed2561
Commit
81ed2561
authored
May 07, 2019
by
Wayne Porter
Committed by
Marc Cornellà
May 07, 2019
Browse files
jira: fix error when assigned or reported are default (#7731)
Signed-off-by:
Wayne Porter
<
wporter82@gmail.com
>
parent
6da59ff0
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/jira/jira.plugin.zsh
View file @
81ed2561
...
@@ -43,7 +43,7 @@ function jira() {
...
@@ -43,7 +43,7 @@ function jira() {
echo
"Opening new issue"
echo
"Opening new issue"
open_command
"
${
jira_url
}
/secure/CreateIssue!default.jspa"
open_command
"
${
jira_url
}
/secure/CreateIssue!default.jspa"
elif
[[
"
$action
"
==
"assigned"
||
"
$action
"
==
"reported"
]]
;
then
elif
[[
"
$action
"
==
"assigned"
||
"
$action
"
==
"reported"
]]
;
then
_jira_query
$
@
_jira_query
$
{
@
:-
$action
}
elif
[[
"
$action
"
==
"dashboard"
]]
;
then
elif
[[
"
$action
"
==
"dashboard"
]]
;
then
echo
"Opening dashboard"
echo
"Opening dashboard"
if
[[
"
$JIRA_RAPID_BOARD
"
==
"true"
]]
;
then
if
[[
"
$JIRA_RAPID_BOARD
"
==
"true"
]]
;
then
...
...
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