As per subject, we need to send email contains JIRA Issue key for reference.
Hi Hashimi,
It depends on where (if anywhere) the submitter's email address is stored within the created issue. If it isn't stored anywhere then of course ScriptRunner cannot get hold of it and so there will be no solution nor workaround possible. If on the other hand it is stored somewhere then you could use a custom email post-function on the Create transition to send an email out. In the additional configuration code you would want to set the recipient programmatically based on the address you had extracted from the issue:
String toAddr
//...
//get email address from issue and store it in toAddr
//how you do this will depend on how the address is
//stored in the issue
//...
mail.to = toAddr
Hope this helps.
Joanna Choules, Adaptavist Product Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.