Catching "Add Attachment" event of an issue

Hello Guys,

How to catch the “Add Attachment” event of an issue in JIRA?
I want to be able to catch it and read contents of the added file.

thanks in advance,

Hi Rosy,

I am the author of the Attachment Checker for JIRA plugin.

There is no add attachment event. You can listen on the issue updated event and then check if there is a new attachment added.