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
3ea33841
Commit
3ea33841
authored
Jul 06, 2015
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4041 from apjanke/fix-jira-prefix-comment-merge
Fix jira plugin syntax error due to merge conflict
parents
c968346e
d0670aa2
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 @
3ea33841
...
@@ -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
}
}
...
...
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