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
I have added my PAT to keychain on macOS. I run jira init and the config is successful and lists the boards in the project for example. However, when I try to execute any other command (like jira me) it asks me to put the PAT in the env variable or netrc file, and does nothing, and seemingly forgets the existence of the PAT in the keychain.
Are you using Jira cloud or on-premise jira server?
on premise
No serverinfo output as jira-cli asks to put PAT in env variable but I have it in keychain.
I cpopied this from the config file generated by jira init:
version:
major: 9
minor: 12
patch: 13
What operating system are you using? Also mention version.
macOS Version 15.0.1 (24A348)
What terminal are you using? Also mention version.
iTerm 2 Build 3.5.5
Steps to reproduce the behavior:
Add PAT to Keychain
Do NOT set an env variable JIRA_API_TOKEN
Install jira-cli
Run jira init successfully with PAT being provided by keychain
Try any command like jira me or jira serverinfo
JIRA CLI will print the error message starting with "The tool needs a Jira API token to function. ..."
Expected behavior
All Jira-cli commands work with PAT provided from keychain.
The text was updated successfully, but these errors were encountered:
Providing the PAT through export JIRA_API_TOKEN="" makes all commands successful again. But that cannot be the point of claiming keychain support if one still has to use the env variable.
Describe the bug
I have added my PAT to keychain on macOS. I run jira init and the config is successful and lists the boards in the project for example. However, when I try to execute any other command (like jira me) it asks me to put the PAT in the env variable or netrc file, and does nothing, and seemingly forgets the existence of the PAT in the keychain.
Please provide following details
(Version="1.5.2", GitCommit="34221786aaa12d5bc66039d164b6d9587b0799c7", CommitDate="2024-09-20T08:29:56+00:00", GoVersion="go1.23.1", Compiler="gc", Platform="darwin/arm64")
on premise
No serverinfo output as jira-cli asks to put PAT in env variable but I have it in keychain.
I cpopied this from the config file generated by jira init:
version:
major: 9
minor: 12
patch: 13
macOS Version 15.0.1 (24A348)
iTerm 2 Build 3.5.5
Steps to reproduce the behavior:
Expected behavior
All Jira-cli commands work with PAT provided from keychain.
The text was updated successfully, but these errors were encountered: