Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
10c1b7d2
Unverified
Commit
10c1b7d2
authored
May 08, 2019
by
Marc Cornellà
Committed by
GitHub
May 08, 2019
Browse files
Options
Browse Files
Download
Plain Diff
jira: add a myissues option (#6696)
This will allow the user to directly open the "my open issues" page. This will make it easier for the user to open their open issues in jira.
parents
ebc700be
0232ac4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
README.md
plugins/jira/README.md
+1
-0
jira.plugin.zsh
plugins/jira/jira.plugin.zsh
+3
-0
No files found.
plugins/jira/README.md
View file @
10c1b7d2
...
...
@@ -21,6 +21,7 @@ jira new # opens a new issue
jira dashboard # opens your JIRA dashboard
jira reported [username] # queries for issues reported by a user
jira assigned [username] # queries for issues assigned to a user
jira myissues # queries for you own issues
jira branch # opens an existing issue matching the current branch name
jira ABC-123 # opens an existing issue
jira ABC-123 m # opens an existing issue for adding a comment
...
...
plugins/jira/jira.plugin.zsh
View file @
10c1b7d2
...
...
@@ -44,6 +44,9 @@ function jira() {
open_command
"
${
jira_url
}
/secure/CreateIssue!default.jspa"
elif
[[
"
$action
"
==
"assigned"
||
"
$action
"
==
"reported"
]]
;
then
_jira_query
${
@
:-
$action
}
elif
[[
"
$action
"
==
"myissues"
]]
;
then
echo
"Opening my issues"
open_command
"
${
jira_url
}
/issues/?filter=-1"
elif
[[
"
$action
"
==
"dashboard"
]]
;
then
echo
"Opening dashboard"
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