Open csamcharles opened 1 year ago
Hi @csamcharles, I believe your instance is returning a HTML response because of some error (probably 404). Could you please check which endpoint is failing with jira issue list -a$(jira me) --debug
?
Hi @ankitpokhrel , thanks for the reply. Redacted the host and bearer which both look correct. Query looks correct also:
~ ❯ jira issue list -q "summary ~ test" --debug
Using config file: /Users/chcharles/.config/.jira/.config.yml
JQL: project="TBX3" AND summary ~ test ORDER BY created DESC
⠧ Fetching issues...
REQUEST DETAILS
------------------------------------------------------------
GET /rest/api/3/search?jql=project%3D%22TBX3%22+AND+summary+~+test+ORDER+BY+created+DESC&startAt=0&maxResults=100 HTTP/1.1
I'm seeing the same, and this was working at some point previously... I can directly query with the host, request, and bearer auth reported by --debug and I get the expected JSON response. In my case it may be related to differences when using a corporate VPN, but I don't see why httpie works fine when I'm connected and jira-cli does not.
Hi, I've had the same and realized my instance does not support the v3 REST requests.
The solution in my case was doing jira init
over and choosing "Local" Jira instance.
Hi, I've had the same and realized my instance does not support the v3 REST requests.
The solution in my case was doing
jira init
over and choosing "Local" Jira instance.
This has solved this issue for me.
Thank you!
Describe the bug When performing any commands I get this error
Please provide following details
JiraCLI Version:
Are you using Jira cloud or on-premise jira server?
Version: 8.20.11 Build Number: 820011 Deployment Type: Server Default Locale:
macOs Ventura 13.3.1 (a)
iTerm 2 Build 3.4.19