Hi,
We have many tickets which contain characters like '-', '_', '|'. In JQL we can apply something like this to run a query without issue:
https://confluence.atlassian.com/jirasoftwareserver/search-syntax-for-text-fields-939938747.html
I'm trying to run something similar in JMWE but unable to get the right syntax, any help would be appreciated
What i've tried (which works fine for items without special characters in the summary):
{{('project = XYZ and issuetype = "XYZ" and summary ~ ' + '"/"' + issue.fields.summary + '/""' + ' order by created DESC') | searchIssues(maxResults = 1, fields = "key") | field("key")}}