The docs on /search call here:
https://docs.atlassian.com/software/jira/docs/api/REST/1000.1568.0/#api/2/search-searchUsingSearchRequest
define a schema as:
{
"id": "https://docs.atlassian.com/jira/REST/schema/search-request#",
"title": "Search Request",
"type": "object",
"properties": {
"jql": {
"type": "string" },
"startAt": {
"type": "integer"
},
"maxResults": {
"type": "integer"
},
"fields": {
"type": "array",
"items": {
"type": "string"
}
},
"validateQuery": { "type": "string" },
"properties": {
"type": "array",
"items": {
"type": "string"
}
},
"fieldsByKeys": {
"type": "boolean"
}
},
"additionalProperties": false,
"required": [
"fieldsByKeys"
]
}
On a GET request I would the the issuetype = Epic with something like:
/rest/api/2/search?jql=project%3D%22Project%20Name%22%20AND%20issuetype%3D%22Epic%22
How would I get the same result for the POST request?