Enforcing limits on the number of attachments per issue
The Attachment Checker for JIRA plugin also allow admins to specify limits on the number of issues allowed per issue.
...
If the number of attachments has exceeded the limit, it will display a configured error message to the user.