I am currently trying to search for all issues that have breached the SLA within our project.
The documentation https://coresoftlabs.atlassian.net/wiki/display/SP/Using+the+searcher mentions the function searchJQLForQuery. However when I use this function (searchJQLForQuery("project = MyProject",'SLA Metric', 'BREACH', '=', 'Yes')) I get the following error:
Error in the JQL Query: Expecting operator but got '('. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 18)
Does anyone have an example how this function should work in detail?