Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix "take" command not honouring user option #9

Merged
merged 1 commit into from
Jul 1, 2015

Conversation

nelfin
Copy link

@nelfin nelfin commented Jul 1, 2015

"take" was simply a partial on "assign", but accidentally used the value
of $USER from the environment rather than opts["user"], preventing the
user from overriding this value in config.yml or as a command-line
argument.

"take" was simply a partial on "assign", but accidentally used the value
of $USER from the environment rather than `opts["user"]`, preventing the
user from overriding this value in config.yml or as a command-line
argument.
coryb added a commit that referenced this pull request Jul 1, 2015
fix "take" command not honouring user option
@coryb coryb merged commit e8631c6 into go-jira:master Jul 1, 2015
@coryb
Copy link
Contributor

coryb commented Jul 1, 2015

Nice, thanks!

It sounds like your USER environment variable does not match the your user for jira? You can change the default "USER" in your ~/.jira.d/config.yml so you wont have to use the --user option much.

user: coryb
editor: emacs -nw
endpoint: https://jira.company.com

@nelfin nelfin deleted the quickfix/take-user branch July 1, 2015 14:34
pdericson pushed a commit to pdericson/go-jira that referenced this pull request Sep 14, 2017
fix "take" command not honouring user option
@hkyeakley hkyeakley mentioned this pull request Oct 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants