NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? See the corresponding suggestion.
If possible then please list attachments. If not then at least add information there are attachments for the issue (boolean flag).
Please add the same for worklogs.
No attachments listed in the REST /issue endpoint for not logged in users
No attachments listed in JSON returned by REST /search endpoint
Search for issues with attachment (by attachment presence)