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
d0670aa2
Commit
d0670aa2
authored
Jun 15, 2015
by
Andrew Janke
Browse files
Fix merge conflict for jira-prefix and jira add comment
parent
ab18795f
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/jira/jira.plugin.zsh
View file @
d0670aa2
...
...
@@ -42,13 +42,6 @@ open_jira_issue () {
$open_cmd
"
${
jira_url
}
/secure/CreateIssue!default.jspa"
elif
[[
"
$1
"
=
"assigned"
||
"
$1
"
=
"reported"
]]
;
then
jira_query
$@
else
echo
"Opening issue #
$1
"
if
[[
"x
$JIRA_RAPID_BOARD
"
=
"xtrue"
]]
;
then
$open_cmd
"
$jira_url
/issues/
$jira_prefix$1
"
else
$open_cmd
"
$jira_url
/browse/
$jira_prefix$1
"
fi
else
local
addcomment
=
''
if
[[
"
$2
"
==
"m"
]]
;
then
...
...
@@ -59,9 +52,9 @@ open_jira_issue () {
fi
if
[[
"x
$JIRA_RAPID_BOARD
"
=
"xtrue"
]]
;
then
$open_cmd
"
$jira_url
/issues/
$1$addcomment
"
$open_cmd
"
$jira_url
/issues/
$
jira_prefix$
1$addcomment
"
else
$open_cmd
"
$jira_url
/browse/
$1$addcomment
"
$open_cmd
"
$jira_url
/browse/
$
jira_prefix$
1$addcomment
"
fi
fi
}
...
...
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