mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-27 03:14:56 +01:00
Use JIRA_DEFAULT_ACTION in place of JIRA_DASHBOARD
This commit is contained in:
parent
5d42458b48
commit
1ddd678fcc
1 changed files with 3 additions and 3 deletions
|
|
@ -3,11 +3,11 @@
|
|||
# .jira-url in the current directory takes precedence
|
||||
#
|
||||
# If you prefer the jira command to show your dashboard, set:
|
||||
#JIRA_DASHBOARD="true"
|
||||
# JIRA_DEFAULT_ACTION="dashboard"
|
||||
# in you .zshrc
|
||||
#
|
||||
# If you use Rapid Board, set:
|
||||
#JIRA_RAPID_BOARD="true"
|
||||
# JIRA_RAPID_BOARD="true"
|
||||
# in you .zshrc
|
||||
#
|
||||
# Setup: cd to/my/project
|
||||
|
|
@ -35,7 +35,7 @@ open_jira_issue () {
|
|||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
if [[ "$JIRA_DASHBOARD" = "true" ]]; then
|
||||
if [[ "$JIRA_DEFAULT_ACTION" = "dashboard" ]]; then
|
||||
open_command "${jira_url}/secure/Dashboard.jspa"
|
||||
else
|
||||
open_command "${jira_url}/secure/CreateIssue!default.jspa"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue