Details
-
Bug
-
Resolution: Fixed
-
Medium
Description
If I try to perform a "full_name contains" query with a string that does NOT contain a slash , I get a Python error from the Bitbucket API:
#!shell $ export BB_PASSWORD=an-app-password-i-just-generated $ curl -u sqs:$BB_PASSWORD 'https://api.bitbucket.org/2.0/repositories?role=member&q=full_name~"private"' {"type": "error", "error": {"message": "need more than 1 value to unpack", "id": "ebd11aa761d44cffbe9b56e7a75ac407"}}
The following queries do work:
- full_name ~ "sqs/private" (when the query string contains a slash)
- name ~ "private"
I would like to be able to perform a "full_name contains" query so that my query will match over both team and name fields, so it can show as-you-type results better.