Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-23848

Incorrect Results with Advanced Filters in Issues Search

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • Repository - Issues
    • None

      Issue Summary

      When using advanced filters in the repository issues search, the results returned do not match the expected criteria. Specifically, filtering by "assignee" and "status" does not return the correct status results.

      Steps to Reproduce

      1. Click on "Advanced Search" in the issues section.
      2. Add filters for "assignee" and "status."
      3. Perform a search using a specific assignee and status, such as "new."

      Expected Results

      The search should return only issues with the status "new" assigned to the specified assignee.

      Actual Results

      The search returns issues with all statuses, not limited to the "new" status.

      Workaround

      • Updating the UI URL: Currently, the UI includes amp%3B. Removing this part from the URL provides correct results.
      • Using APIs: You can use the Bitbucket API to get the correct results.
      • Example API Call:
        curl -X GET -u username:app_password "https://api.bitbucket.org/2.0/repositories/<workspace-id>/<repo-name>/issues?q=state%3D%22<STATUS>%22%20and%20assignee.uuid%3D%22%7B<ASSINGEE-UUID>%7D%22"
        

        Replace with the username, app password, workspace ID, repository slug, status (new, resolved, etc) and the assignee UUID .

              Unassigned Unassigned
              40b9b0a8faa9 Karthick S
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: