Attachment retrieval including retrieval of task contexts and attachment lists in the task editor requires JIRA 3.7 or above. Please upgrade your JIRA installation to resolve this issue.

See this issue for more information.