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

Username and password not read from configuration file #138

Open
srsross opened this issue Mar 23, 2021 · 0 comments
Open

Username and password not read from configuration file #138

srsross opened this issue Mar 23, 2021 · 0 comments

Comments

@srsross
Copy link

srsross commented Mar 23, 2021

All,

I have two "beginner" questions that I don't see addressed on the documentation page at https://jira-cli.readthedocs.io/en/master/intro.html.

When I first executed jira-cli configure, the command prompted me for the base URL, the authentication method, my user name, and my password. So far, so good. But the command never returned after I entered my password. Why would that be?

So, I directly entered both my username and password into the file ~/.jira-cli/config.cfg.

However, I am only able to successfully use "jira-cli to view a JIRA issue when I provide both my user name and password as option arguments on the command line. If I don't provide both, the command hangs. If I do provide both, I get the expected output. (I don't need to provide the--jira-url option of the command line, so that is being read from the configuration file.) How can I avoid providing my username and password with each command?

Thanks in advance for any help,
-- Steve

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

No branches or pull requests

1 participant