Commit d0670aa2 authored by Andrew Janke's avatar Andrew Janke
Browse files

Fix merge conflict for jira-prefix and jira add comment

parent ab18795f
...@@ -42,13 +42,6 @@ open_jira_issue () { ...@@ -42,13 +42,6 @@ open_jira_issue () {
$open_cmd "${jira_url}/secure/CreateIssue!default.jspa" $open_cmd "${jira_url}/secure/CreateIssue!default.jspa"
elif [[ "$1" = "assigned" || "$1" = "reported" ]]; then elif [[ "$1" = "assigned" || "$1" = "reported" ]]; then
jira_query $@ 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 else
local addcomment='' local addcomment=''
if [[ "$2" == "m" ]]; then if [[ "$2" == "m" ]]; then
...@@ -59,9 +52,9 @@ open_jira_issue () { ...@@ -59,9 +52,9 @@ open_jira_issue () {
fi fi
if [[ "x$JIRA_RAPID_BOARD" = "xtrue" ]]; then if [[ "x$JIRA_RAPID_BOARD" = "xtrue" ]]; then
$open_cmd "$jira_url/issues/$1$addcomment" $open_cmd "$jira_url/issues/$jira_prefix$1$addcomment"
else else
$open_cmd "$jira_url/browse/$1$addcomment" $open_cmd "$jira_url/browse/$jira_prefix$1$addcomment"
fi fi
fi fi
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment