I am new to this API, so this might be user error. I am doing an issue search as per https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-search/#api-rest-api-2-search-post, but [tenant_url]/rest/api/2/search returns a 404. I am able to query https://api.atlassian.com/ex/jira/[cloud_id]/rest/api/2/ (found on the forum here) but the data is formatted very differently.
In the documentation, there is a “fields” property with “sub-tasks”, “issuelinks”, “attachment” and “comment” properties (all arrays), but in the response there is no “fields”. Rather, there is “subtasks” at the root (note the different spelling, too) alongside “issuelinks” but no “comment” or “attachment” property.
Any suggestions are appreciated. In particular, what type is this return format and why is the documented URL returning 404?