Hi all,
Is it possible to create custom field (checkbox or select list) which allow to select previously added attachments? Or maybe it possible with built-in Script Post-Function?
Thanks in advance!
BR, Serge
Community moderators have prevented the ability to post new answers.
HI Serge,
You can use the Send a custom email scripted post function and include some code similar to the example below in the Custom attachment callback section in order to specify what attachments you want to email.
import com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.MailAttachment {MailAttachment a -> a.filename.toLowerCase().contains('test.txt')}
Thanks
Kristian
Hi @Kristian Walker (Adaptavist) & @Jamie Echlin (Adaptavist),
We are also looking for the same functionality what the *Serge* has looking.
We are tested as well by using Script Runner Custom Attachment callback and we are able to send the mail with attachment but the thing here is we want the like Whenever user has create the ticket the automatically mail goes to him/her as looking for some custom field data/issue type but for sending the attachment some where else we want to store that attachments right?
so can you help me here to configure this/achieve this functionality.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.