hello,
i want to add a function which looks for the certain email attachment in the mail an eliminate it when the issue is been created.
eg:
attachment 1: atlassian_logo.jpeg
attachment 2: attachment_snap.jpeg
while we see that attachment 1 is not required And will fill up my database unnecessary.
while jira creates an issue it should remove the atlassian_logo.jpeg and only save attachment2 in to DB.
how will i acheave it?
Community moderators have prevented the ability to post new answers.
You can also try use Script Runner plugin (free).
This is not possible within JIRA itself. Though a third party paid plugin, Enterpise Mail Handler might provide the functionality you are looking for. In particular, have a look at this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, right on the money. JEMH can disable email attachments entirely, based on wildcard, or based on uniqiue MD5 fingerprint (this is what you want)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Vidic the problem can be solved by the getAttachment class. we can find the file which should not be there and delete it using the delete function. can be done using the jira java plugins using listener. and also https://answers.atlassian.com/questions/106733/deleting-all-attachments-through-groovy groovy is the way.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I don't know if such an email handler exist. You will need to check the marketplace. If not, you will have to create your own email handler.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Timothy, Im surprised you havent heard of JEMH, its the most comprehensive mail handler for JIRA and does almost everything thats needed, please take a look at the JRA list satisfied by JEMH - https://thepluginpeople.atlassian.net/wiki/display/JEMH/JRAs+implemented+by+JEMH
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Timothy, just creating email handeller doesnot provide you the option for removing the attachments or which to keep. you need a special tool for that.
whel JEMH is a fine tool to do many things for you email handelling. You name it and it does it. But just to do my kind of task paying so much is out of the question. so reffer to my answer for the correct way without spending a penny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.