Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
d0670aa2
Commit
d0670aa2
authored
Jun 15, 2015
by
Andrew Janke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix merge conflict for jira-prefix and jira add comment
parent
ab18795f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
jira.plugin.zsh
plugins/jira/jira.plugin.zsh
+2
-9
No files found.
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