-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
2
-
Severity 3 - Minor
-
11
-
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
- Click on "Advanced Search" in the issues section.
- Add filters for "assignee" and "status."
- 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 .