Config entry for each Jira instance and its credentails #435
Unanswered
electriquo
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Hi @foolioo, thank you for opening this thread. I think this is a valid concern and something that could be improved (I am open for PRs). Having said that, there are a ton of things that GitHub CLI does better and can be borrowed to make JiraCLI better. But, right now its just a single person maintaining this project and I am trying my best to make the tool usable for majority of use cases. Any kind of support is highly appreciated. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thank you for the JiraCLI.
JiraCLI requires to expose Jira API Token (or password) and maybe tweaking the authentication type for Jira CLI to work. One might even consider other means of exposing Jira API Token (or password).
The process above needs to be repeated for every Jira instance.
After the process was done, the modified files (e.g.
.bashrc
,.netrc
, etc.) should not be stored under Source Control Management (SCM) such as GIt due to the sensitivity of the credentials in these files.What about letting
jira init
to open the internet browser and point it to Jira API Tokens, then wait for the user to type in the API token once created. In turn JiraCLI will create a file$HOME/.config/.jira/.config.yml
with all the configuration and the credentials in the same spirit GitHub CLI keeps such configuration and credentials?This will:
--config
.related to #356, #434, #268, #217, #287 (and maybe some others).
Beta Was this translation helpful? Give feedback.
All reactions