I can easily construct a query on the web interface, but I'm struggling trying to get those same results from the JIRA API.
Specifically, I can issue a query as such:
jql=project=[projectname]%20AND%20summary~"Premium"
I believe that this works because 'summary' happens to be a built-in (non-custom) field. I tried running the following query:
jql=project=[projectname]%20AND%20"My%20Field"%20~%20MyValue
And I get an exception: "The remote server returned an error: (400) ."
How do I get a filter with a contains operator on a custom string field to work from the API?
Thanks.