Imported filter and custom JQL return no results but show results in Jira

Issue #692 new
Peter Benjamin created an issue

A simple JQL like project = XYZ AND assignee = currentUser() or project = XYZ returns No issues found in Jira Issues widget, but the same JQL statements return results on Jira.

Comments (9)

  1. Peter Benjamin Account Deactivated reporter

    I seem to be experiencing this issue for 1 project only. Is there some Jira project setting that could be causing this?

  2. Michael Bower

    Is ‘XYZ’ the short name for the project or the full long name that appears in the side bar? I’ve noticed it fails on the short project contractions in the widget, but Jira handles them fine.

  3. Peter Benjamin Account Deactivated reporter

    I have tried both. When using Jira’s JQL auto-completion, it resolves to the project’s full name, which I have copied and imported to vscode and it did not work for me.

  4. Ian Perry

    @Michael Bower I’m experiencing this issue and don’t even have a project filter in my JQL query. This is my query

    assignee = currentUser() AND resolution = Unresolved ORDER BY lastViewed DESC
    

    and I’ve even tried replacing currentUser() with my specific UUID, both ways work in Jira no problem, but both return zero results in the widget.

  5. Mike Hickman

    Same. I’m connecting to an on-prem Jira Server from VSCode. Filters do not work. The connection to Jira works, because when I create a jql query, it will auto-populate matching project names, usernames, etc. as I type the jql. However, no issues will appear in the sidebar explorer no matter for any jql or imported filters.

  6. Mike Hickman

    I used mitmproxy to watch the REST API calls and found the problem. The maxResults and startsAt parameters need to have their ‘=' encoded as ‘%3D’. I tested the queries by hand in the browser and changing '&maxResults=100&startsAt=0’ to '&maxResults%3D100&startsAt%3D0’ enables the queries to work.

  7. Volodymyr Vintonyak

    Having similar issue in VS code Atlassian Jira extension.
    I can filter out all issues for a particular project, but can’t filter all issues assigned to me for the same project. When trying to filter out issues assigned on me for all the projects - it shows me all I want except same project. All the same shows correct result in Cloud Jira😕

  8. Per Persson

    I have a similar issue in VS Code Atlassian Jira extension. The JQL `assignee = currentUser() AND resolution = Unresolved ORDER BY lastViewed DESC` returns some, but not all of the unresolved issues visible on my Kanban board in Jira.

  9. Log in to comment