Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAction Script
string[] to = projectMembers(project);
string[] cc;
string subject = arraysConcat("JIRA Email Issue: ", summary);
string template = "template.tpl";
string language = "en_US";
print(attachments);
if (sendEmail(currentUser(), to, cc, subject, template, language, attachments))
{
 return "The email has been sendsent succesfuly";
}
else
{
 return "An error occured when sending the email.";
} 

...