Using the python library to send a JQL string like this to jira fails with a 400 permissions error, despite the field existing, and the service account having full administrative permissions.
"project = Foo AND status = 'BAR' AND customfield_12998 = Regular"
are custom fields not supported in jql? If not we need a workaround that can be run from the python client.