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
Are you using Jira cloud or on-premise jira server?
SERVER INFO
-----------
Version: 9.4.17
Build Number: 940017
Deployment Type: Server
Default Locale:
What operating system are you using? Also mention version.
MacOS Sonoma 14.2.1 (23C71)
What terminal are you using? Also mention version.
Iterm 2 Build 3.4.23
To Reproduce
Steps to reproduce the behavior:
export JIRA_API_TOKEN=''
jira init # works fine, was able to connect and .config.yaml created.
jira issue list # returns an error
Error:
- The value 'DEV' does not exist for the field 'project'.
jira: Received unexpected response '400 '.
Please check the parameters you supplied and try again.
Expected behavior
From the README, expected to see a list of all recent issues.
Screenshots
Additional context
running the url jira-cli sends with curls works fine:
curl -H "Authorization: Bearer ${JIRA_API_TOKEN}" -X GET https://jira.redacted.com/rest/api/2/search\?jql=project%3D%22DEV%22+ORDER+BY+created+DESC\&startAt=0\&maxResults=1 HTTP/1.1
I get a long json return.
The text was updated successfully, but these errors were encountered:
Describe the bug
After jira init, all other jira commands fail with either 400 or 401.
Please provide following details
To Reproduce
Steps to reproduce the behavior:
Expected behavior
From the README, expected to see a list of all recent issues.
Screenshots
Additional context
running the url jira-cli sends with curls works fine:
I get a long json return.
The text was updated successfully, but these errors were encountered: