Hei All.
I need to create a Jira filter using web request (POST). Filter needs to have double quotes, since it uses JQL search extensions. Here's a simple example of the problematic filter:
{
"description": "Filter created by jira automation",
"jql": "issue in linkedIssuesOfQuery("project=ACME", "is blocked by")",
"name": "temp-pp2"
}
When I escape the double quotes with backslashes, it removes those from the filter query and responses with bad request:
Payload
{ "errorMessages": [ "Unable to find JQL function 'linkedIssuesOfQuery(project=ACME, is blocked by)'." ], "errors": {}
and the request payload is this:
{ "description": "Filter created by jira automation", "jql": "issue in linkedIssuesOfQuery(\"project=ACME\", \"is blocked by\")", "name": "temp-pp2" }
So how to pass double quotes correctly? I've also tried with \", \\", \\\"