You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a custom config path, jira will write the help text explaining how to retrieve a token although I have the token successfully setup in macOS keychain. It even then prints the output of the query after the help text.
jira issue --config ~/.config/.jira/TEST.yml list --plain --no-headers -a$(jira me) -s"In Progress" | head -3 | awk '{print $2}' | awk -v d=" " '{s=(NR==1?s:s d)$0}END{print s}'
The tool needs a Jira API token to function.
For cloud server: you can generate the token using this link: https://id.atlassian.com/manage-profile/security/api-tokens
For local server: you can use the password you use to log in to Jira for basic auth or get a token from your Jira profile for PAT.
After generating the token, you can either:
- Export API token to your shell as a JIRA_API_TOKEN env variable
- Or, you can use a .netrc file to define required machine details
Once you are done with the above steps, run 'jira init' to generate the config if you haven't already.
For more details, see: https://github.com/ankitpokhrel/jira-cli#getting-started
TEST-115 TEST-111 TEST-94
Are you using Jira cloud or on-premise jira server?
Cloud
What operating system are you using? Also mention version.
macOSSonoma 14.0 Beta (23A5312d)
What terminal are you using? Also mention version.
alacritty --version
alacritty 0.12.2 (9d9982d)
fish --version
fish, version 3.6.1
To Reproduce
Steps to reproduce the behavior:
Have macOS
Configure jira with keychain
Create config
Move config to custom location
See error
Expected behavior
No error text when using custom location
The text was updated successfully, but these errors were encountered:
oschrenk
changed the title
Using custom config path prints help text although keychain is setuo
Using custom config path prints help text although keychain is setup
Aug 11, 2023
Describe the bug
When using a custom config path,
jira
will write the help text explaining how to retrieve a token although I have the token successfully setup in macOS keychain. It even then prints the output of the query after the help text.when I rename
TEST.yml
to the default.config.yml
It works as expected
Please provide following details
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error text when using custom location
The text was updated successfully, but these errors were encountered: