I'd like to query the Bitbucket API for occurrences of a specific custom pipeline. I've tried various incarnations of the filtering syntax, but it never seems to filter anything.
Here's the basic curl invocation I've got.
curl -G --fail \
--data-urlencode 'q=target.selector.pattern = "$RULE"' \
--data-urlencode 'sort=-created_on' \
--data-urlencode 'fields=values.target.selector.*,values.created_on' \
--data-urlencode 'page=1' \
--data-urlencode 'pagelen=10' \
Is this possible? I've seen other answers show that querying by branch (for example) doesn't even use the filtering syntax (e.g., just "target.branch=master"), so I'm at a loss for how to move forward.
I'm also running into this now, it seems like `q` just isn't implemented on this endpoint. Not sure if this is a bug or just a missing feature, but I would love to upvote it to see it made usable.
Otherwise, there's no real workaround other than polling for every single pipeline in the entire history of the repo, which is obviously untenable.