We're developing a Jira plugin that inserts our client app into Jira interface. Its Cloud version is already available, and now we're porting it on Jira Data Center.
In the Cloud version, we can load properties of issues by requesting /rest/api/2/search endpoint with a "properties" field (in the request payload for POST or as a query parameter for GET).
But if we try doing the same in Jira Server/DataCenter, we don't get the same result: GET ignores the "properties" field, and POST responds with status 400 and error message "Unrecognized field "properties" ..."
Our search request is likely to give its maximum of 50 results.
Is it possible to load properties of a set of issues in some kind of batch request, or is there any other way to minimize the amount of requests?