Git Product home page Git Product logo

Comments (5)

csamcharles avatar csamcharles commented on May 28, 2024 1

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

from jira-cli.

akozumpl avatar akozumpl commented on May 28, 2024 1

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.

from jira-cli.

ankitpokhrel avatar ankitpokhrel commented on May 28, 2024

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?

from jira-cli.

glucas avatar glucas commented on May 28, 2024

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.

from jira-cli.

miloslavnosek avatar miloslavnosek commented on May 28, 2024

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!

from jira-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.