Hi,
I have a usecase where I want to send out an email using a using global looping transition:
- global looping transition "Send email" with a transition screen (and custom fields Summary, Description, Recipients, Attachment)
- ScriptRunner post function as described in https://library.adaptavist.com/entity/send-custom-email
I think it should be possible to map the custom fields to the post function script "fields"/variables: sendEmail('user@email.com', '<Your subject here>', '<Your body here>')
So:
Summary: <Your subject here>
Body: <Your body here>
user@email.com: Recipients
Attachment?
Is this possible? Or are there other thoughts for sending out custom emails using a user dialog screen?
Many thanks and best regards,
Berry.